Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testShapeTuple
Method · 0.45
testConvertToLongLongTensorType
Method · 0.45
_num_elements
Function · 0.45
func
Method · 0.45
bar
Method · 0.45
foo
Method · 0.45
Calls
2
_shape_as_list
Method · 0.95
tuple
Function · 0.85
Tested by
5
testShapeTuple
Method · 0.36
testConvertToLongLongTensorType
Method · 0.36
func
Method · 0.36
bar
Method · 0.36
foo
Method · 0.36