Returns true if the node only depends on its input's metadata (shape). Specifically, returns true for "Size", "Shape" and "Rank" ops.
| 883 | // Returns true if the node only depends on its input's metadata |
| 884 | // (shape). Specifically, returns true for "Size", "Shape" and "Rank" ops. |
| 885 | inline bool IsMetadata(const Node* n) { return n->IsMetadata(); } |
| 886 | |
| 887 | inline bool IsScopedAllocator(const Node* n) { return n->IsScopedAllocator(); } |
| 888 |