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

Function IsMetadata

tensorflow/core/graph/graph.h:885–885  ·  view source on GitHub ↗

Returns true if the node only depends on its input's metadata (shape). Specifically, returns true for "Size", "Shape" and "Rank" ops.

Source from the content-addressed store, hash-verified

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

Callers 1

RunMethod · 0.85

Calls 1

IsMetadataMethod · 0.80

Tested by

no test coverage detected