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

Method forward_pass

mla/neuralnet/layers/basic.py:140–141  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

138 self.step = step
139
140 def forward_pass(self, x):
141 return x[:, self.step, :]
142
143 def backward_pass(self, delta):
144 return np.repeat(delta[:, np.newaxis, :], 2, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected