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

Function CheckNodeExists

tensorflow/core/grappler/mutable_graph_view.cc:308–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308Status CheckNodeExists(absl::string_view node_name, NodeDef* node,
309 ErrorHandler handler) {
310 if (node == nullptr) {
311 return handler(NodeMissingErrorMsg(node_name));
312 }
313 return Status::OK();
314}
315
316Status CheckPortRange(int port, int min, int max, ErrorHandler handler) {
317 if (port < min || port > max) {

Callers 14

UpdateNodeMethod · 0.85
UpdateNodeNameMethod · 0.85
SwapNodeNamesMethod · 0.85
UpdateFanoutsMethod · 0.85
AddRegularFaninMethod · 0.85
AddRegularFaninByPortMethod · 0.85
AddControllingFaninMethod · 0.85
RemoveRegularFaninMethod · 0.85
UpdateFaninMethod · 0.85

Calls 1

NodeMissingErrorMsgFunction · 0.85

Tested by

no test coverage detected