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

Method testStr

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

Source from the content-addressed store, hash-verified

728 ops.convert_to_tensor(op)
729
730 def testStr(self):
731 node_def = ops._NodeDef("None", "op1")
732 op = ops.Operation(node_def, ops.Graph(), [], [dtypes.float32])
733 self.assertEqual(str(node_def), str(op))
734
735 def testRepr(self):
736 op = ops.Operation(

Callers

nothing calls this directly

Calls 2

OperationMethod · 0.45
GraphMethod · 0.45

Tested by

no test coverage detected