| 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 |
no outgoing calls