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

Method testRepr

tensorflow/python/framework/ops_test.py:735–738  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

733 self.assertEqual(str(node_def), str(op))
734
735 def testRepr(self):
736 op = ops.Operation(
737 ops._NodeDef("None", "op1"), ops.Graph(), [], [dtypes.float32])
738 self.assertEqual("<tf.Operation 'op1' type=None>", repr(op))
739
740 @test_util.run_deprecated_v1
741 def testGetAttr(self):

Callers

nothing calls this directly

Calls 2

OperationMethod · 0.45
GraphMethod · 0.45

Tested by

no test coverage detected