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

Method add

tensorflow/python/saved_model/save_test.py:302–303  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

300 @def_function.function(input_signature=[tensor_spec.TensorSpec(
301 shape=None, dtype=dtypes.float32)])
302 def add(self, x):
303 return x + x + 1.
304
305 to_save = Adder()
306 to_save.add(constant_op.constant(1.))

Callers 2

test_docstringMethod · 0.95
captured_intermediateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected