MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / add_update

Method add_update

tensorflow/python/layers/base.py:216–256  ·  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 a same layer on different inputs `a` and

(self, updates, inputs=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

_run_internal_graphMethod · 0.80
test_get_updates_forMethod · 0.80
testNetworkAttributesMethod · 0.80
_fused_batch_normMethod · 0.80
callMethod · 0.80
test_get_updates_forMethod · 0.80
callMethod · 0.80

Calls 4

_object_list_uidFunction · 0.85
in_eager_modeMethod · 0.80
flattenMethod · 0.80
_to_listFunction · 0.70

Tested by 3

test_get_updates_forMethod · 0.64
testNetworkAttributesMethod · 0.64
test_get_updates_forMethod · 0.64