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

Method forward

code/chapter9.py:916–922  ·  view source on GitHub ↗
(self, X_train)

Source from the content-addressed store, hash-verified

914 self.is_initialized = True
915
916 def forward(self, X_train):
917 Xs = {}
918 out = X_train
919 for k, v in self.layers.items():
920 Xs[k] = out
921 out = v.forward(out)
922 return out, Xs
923
924 def backward(self, grad):
925 dXs = {}

Callers 3

fitMethod · 0.95
evaluateMethod · 0.95
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected