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

Method Lookup

tensorflow/c/c_api_function.cc:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146string NodeNameMapping::Lookup(const string& name) const {
147 const auto iter = name_mapping_.find(name);
148 if (iter == name_mapping_.end()) return string();
149 return iter->second;
150}
151
152Status ValidateNonRefOutput(const Node* node, int idx) {
153 const DataType& dt = node->output_type(idx);

Callers 6

ReadTensorFromCheckpointFunction · 0.45
FillFunctionBodyFunction · 0.45
GraphToFunctionDefFunction · 0.45
GetTensorMethod · 0.45
WriteRestVariablesFunction · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected