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

Method func

tensorflow/python/compiler/xla/xla_test.py:98–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96
97 @def_function.function
98 def func():
99 context = self.create_test_xla_compile_context()
100 context.Enter()
101 o = a.assign(2)
102 context.Exit()
103 return o
104
105 self.assertEqual(self.evaluate(func()), 2)
106

Callers

nothing calls this directly

Calls 4

EnterMethod · 0.45
assignMethod · 0.45
ExitMethod · 0.45

Tested by

no test coverage detected