We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f77e66 commit cb3167cCopy full SHA for cb3167c
neuralnetlib/layers.py
@@ -149,9 +149,9 @@ def forward_pass(self, input_data: np.ndarray) -> np.ndarray:
149
150
if len(input_data.shape) == 1 and self.input_dim:
151
batch_size = input_data.shape[0]
152
- input_data = input_data.reshape(batch_size, input_data = input_data.reshape(batch_size, self.input_dim))
+ input_data = input_data.reshape(batch_size, self.input_dim)
153
self.input = input_data
154
-
+
155
if len(input_data.shape) == 3:
156
batch_size, timesteps, features = input_data.shape
157
input_reshaped = input_data.reshape(-1, features)
0 commit comments