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

Method testShapeTuple

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

Source from the content-addressed store, hash-verified

643 self.assertAllEqual(values, self.evaluate(tensor))
644
645 def testShapeTuple(self):
646 with self.cached_session():
647 c = constant_op.constant(1)
648 self.assertEqual(c._shape_tuple(), ()) # pylint: disable=protected-access
649
650 def testConvertToTensorEager(self):
651 with context.eager_mode():

Callers

nothing calls this directly

Calls 3

cached_sessionMethod · 0.45
constantMethod · 0.45
_shape_tupleMethod · 0.45

Tested by

no test coverage detected