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

Method _shape_tuple

tensorflow/python/framework/ops.py:566–570  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

564 return None
565
566 def _shape_tuple(self):
567 shape = self._shape_as_list()
568 if shape is None:
569 return None
570 return tuple(shape)
571
572 def _rank(self):
573 """Integer rank of this Tensor, if known, else None.

Callers 7

__iter__Method · 0.95
testShapeTupleMethod · 0.45
_num_elementsFunction · 0.45
funcMethod · 0.45
barMethod · 0.45
fooMethod · 0.45

Calls 2

_shape_as_listMethod · 0.95
tupleFunction · 0.85

Tested by 5

testShapeTupleMethod · 0.36
funcMethod · 0.36
barMethod · 0.36
fooMethod · 0.36