MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / call

Method call

tensorflow/python/keras/engine/training_test.py:3595–3598  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

3593 trainable=False)
3594
3595 def call(self, inputs):
3596 # Make sure update isn't run twice.
3597 self.add_update(lambda: state_ops.assign_add(self.counter, 1))
3598 return math_ops.cast(self.counter, inputs.dtype) * inputs
3599
3600
3601class NestedUpdateLayer(keras.layers.Layer):

Callers

nothing calls this directly

Calls 3

add_updateMethod · 0.80
assign_addMethod · 0.45
castMethod · 0.45

Tested by

no test coverage detected