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

Method add_one

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

Source from the content-addressed store, hash-verified

1109
1110 @def_function.function
1111 def add_one(x):
1112 return add(x, 1)
1113
1114 self.assertAllEqual(3, add_one(constant_op.constant(2)))
1115

Callers 1

testMethod · 0.45

Calls 2

addFunction · 0.50
assign_addMethod · 0.45

Tested by

no test coverage detected