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

Method IsToken

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

Source from the content-addressed store, hash-verified

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
62 // Returns true if no array dimension in the shape is dynamically sized. Tuple

Callers 13

ConvertShapeToTypeFunction · 0.80
TEST_FFunction · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
CompileMethod · 0.80
ToStringHelperFunction · 0.80
AfterAllMethod · 0.80
ShapeContainsTokenFunction · 0.80
DeepCopyHelperMethod · 0.80
CopyRemoverMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64