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

Class NodeInfo

tensorflow/core/graph/graph_constructor.cc:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298 // Mapping from node name to the index within node_defs_.
299 struct NodeInfo {
300 explicit NodeInfo(int i) : gdef_index(i), node(nullptr) {}
301 // Containers require that we have a default constructor.
302 NodeInfo() : NodeInfo(-1) {}
303 int gdef_index;
304 Node* node; // nullptr until the NodeDef is converted to a Node.
305 };
306 gtl::FlatMap<StringPiece, NodeInfo, StringPieceHasher> gdef_nodes_;
307
308 // Storage for StringPiece keys in gdef_nodes_. Typically, the StringPiece key

Callers 1

BuildNodeIndexMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected