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

Function CheckFaninIsValid

tensorflow/core/grappler/mutable_graph_view.cc:278–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278Status CheckFaninIsValid(const TensorId& fanin, ErrorHandler handler) {
279 if (!IsTensorIdPortValid(fanin)) {
280 return handler(absl::Substitute("fanin '$0' must be a valid tensor id",
281 fanin.ToString()));
282 }
283 return Status::OK();
284}
285
286Status CheckAddingFaninToSelf(absl::string_view node_name,
287 const TensorId& fanin, ErrorHandler handler) {

Callers 2

AddControllingFaninMethod · 0.85
UpdateFaninMethod · 0.85

Calls 2

IsTensorIdPortValidFunction · 0.85
ToStringMethod · 0.45

Tested by

no test coverage detected