MCPcopy Index your code
hub / github.com/MingchaoZhu/DeepLearning / forward

Method forward

code/chapter6.py:314–320  ·  view source on GitHub ↗
(self, X_train)

Source from the content-addressed store, hash-verified

312 self.is_initialized = True
313
314 def forward(self, X_train):
315 Xs = {}
316 out = X_train
317 for k, v in self.layers.items():
318 Xs[k] = out
319 out = v.forward(out)
320 return out, Xs
321
322 def backward(self, grad):
323 dXs = {}

Callers 3

fitMethod · 0.95
evaluateMethod · 0.95
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected