MCPcopy Create free account
hub / github.com/alibaba/nann / add_update

Method add_update

tensorflow/tensorflow/python/keras/engine/base_layer.py:1229–1310  ·  view source on GitHub ↗

Add update op(s), potentially dependent on layer inputs. Weight updates (for instance, the updates of the moving mean and variance in a BatchNormalization layer) may be dependent on the inputs passed when calling a layer. Hence, when reusing the same layer on different inputs `a` an

(self, updates, inputs=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

buildMethod · 0.80
callMethod · 0.80
callMethod · 0.80
decoratedFunction · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
buildMethod · 0.80
callMethod · 0.80
test_get_updatesMethod · 0.80
callMethod · 0.80

Calls 2

updateFunction · 0.50
to_listMethod · 0.45

Tested by 12

buildMethod · 0.64
callMethod · 0.64
callMethod · 0.64
callMethod · 0.64
callMethod · 0.64
callMethod · 0.64
callMethod · 0.64
buildMethod · 0.64
callMethod · 0.64
test_get_updatesMethod · 0.64