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

Method update

code/chapter9.py:932–938  ·  view source on GitHub ↗

函数作用:梯度更新

(self)

Source from the content-addressed store, hash-verified

930 return out, dXs
931
932 def update(self):
933 """
934 函数作用:梯度更新
935 """
936 for k, v in reversed(list(self.layers.items())):
937 v.update()
938 self.flush_gradients()
939
940 def flush_gradients(self, curr_loss=None):
941 """

Callers 2

fitMethod · 0.95
updateMethod · 0.45

Calls 1

flush_gradientsMethod · 0.95

Tested by

no test coverage detected