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

Function IsScopedAllocator

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

Source from the content-addressed store, hash-verified

885inline bool IsMetadata(const Node* n) { return n->IsMetadata(); }
886
887inline bool IsScopedAllocator(const Node* n) { return n->IsScopedAllocator(); }
888
889inline bool IsHostMemoryPreserving(const Node* node) {
890 return IsIdentity(node) || IsControlFlow(node);

Callers 1

SetAllocAttrsMethod · 0.85

Calls 1

IsScopedAllocatorMethod · 0.80

Tested by

no test coverage detected