fix Bias layer

This commit is contained in:
Connor Olding 2017-08-02 11:37:39 +00:00
parent 049d966710
commit 7ac67fba8f

View File

@ -840,7 +840,7 @@ class Bias(Layer):
shape = parent.output_shape
self.input_shape = shape
self.output_shape = shape
self.biases.shape = (self.dim,)
self.biases.shape = (shape[-1],)
def forward(self, X):
return X + self.biases.f