MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / forward_pass

Method forward_pass

mla/neuralnet/layers/basic.py:164–169  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

162 self.input_dim = X_shape[2]
163
164 def forward_pass(self, X):
165 n_timesteps = X.shape[1]
166 X = X.reshape(-1, X.shape[-1])
167 y = self.dense.forward_pass(X)
168 y = y.reshape((-1, n_timesteps, self.output_dim))
169 return y
170
171 def backward_pass(self, delta):
172 n_timesteps = delta.shape[1]

Callers

nothing calls this directly

Calls 1

forward_passMethod · 0.45

Tested by

no test coverage detected