Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ is_tuple
Method
is_tuple
tensorflow/compiler/xla/python_api/xla_shape.py:74–75 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
72
return
self.message.element_type
73
74
def
is_tuple(self):
75
return
self.element_type() == xla_data_pb2.TUPLE
76
77
def
dimensions(self):
78
if
self.is_tuple():
Callers
2
dimensions
Method · 0.95
tuple_shapes
Method · 0.95
Calls
1
element_type
Method · 0.95
Tested by
no test coverage detected