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

Class ImportGraphDefResults

tensorflow/core/graph/graph_constructor.h:149–164  ·  view source on GitHub ↗

Optional results that may be returned by ImportGraphDef.

Source from the content-addressed store, hash-verified

147
148// Optional results that may be returned by ImportGraphDef.
149struct ImportGraphDefResults {
150 // The requested tensors associated with
151 // ImportGraphDefOptions::return_tensors. Note that the index may be different
152 // than the requested index if the returned tensor has been remapped according
153 // to `input_map`.
154 typedef int Index;
155 std::vector<std::pair<Node*, Index>> return_tensors;
156
157 // The requested nodes associated with ImportGraphDefOptions::return_nodes.
158 std::vector<Node*> return_nodes;
159
160 // Keys in ImportGraphDefOptions::input_map that don't appear in `gdef` and
161 // weren't used as an input to any node in `gdef`. These keys are likely due
162 // to typos, and callers may wish to treat their existence as an error.
163 std::vector<SafeTensorId> missing_unused_input_map_keys;
164};
165
166// Adds the graph in GraphDef `gdef` into an existing Graph `*g`.
167//

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68