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

Method IsTuple

tensorflow/compiler/xla/shape.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 // Returns whether the shape is of the specified type (array, tuple, etc).
57 bool IsArray() const { return primitive_util::IsArrayType(element_type()); }
58 bool IsTuple() const { return element_type() == TUPLE; }
59 bool IsToken() const { return element_type() == TOKEN; }
60 bool IsOpaque() const { return element_type() == OPAQUE_TYPE; }
61

Callers 15

CreateExecuteOutputFunction · 0.45
xrt_client.ccFile · 0.45
TEST_FFunction · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ConvertShapeToTypeFunction · 0.45
XLAShapeToTensorShapeFunction · 0.45
GetShapeWithLayoutFunction · 0.45
TEST_FFunction · 0.45
ReshapeLiteralMethod · 0.45
CompileMethod · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36