Closed cortner closed 11 months ago
LinearLayer previously used only the input vector to determine the output type, but it should use both the input vector and the type of the weight vector.
LinearLayer
This closes #69
as a general rule, look at the combination of all types involved and use that to compute the output type. That's what promote_type is for.
promote_type
LinearLayer
previously used only the input vector to determine the output type, but it should use both the input vector and the type of the weight vector.