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

Method g

tensorflow/python/eager/function_test.py:863–864  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

861
862 @def_function.function
863 def g(x):
864 return f(x) + 1
865
866 self.assertAllEqual(g(constant_op.constant(2.0)).eval(), 5.0)
867

Callers

nothing calls this directly

Calls 4

fFunction · 0.50
as_listMethod · 0.45
addMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected