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

Function CheckFaninIsRegular

tensorflow/core/grappler/mutable_graph_view.cc:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270Status CheckFaninIsRegular(const TensorId& fanin, ErrorHandler handler) {
271 if (!IsTensorIdRegular(fanin)) {
272 return handler(absl::Substitute("fanin '$0' must be a regular tensor id",
273 fanin.ToString()));
274 }
275 return Status::OK();
276}
277
278Status CheckFaninIsValid(const TensorId& fanin, ErrorHandler handler) {
279 if (!IsTensorIdPortValid(fanin)) {

Callers 4

AddRegularFaninMethod · 0.85
AddRegularFaninByPortMethod · 0.85
RemoveRegularFaninMethod · 0.85

Calls 2

IsTensorIdRegularFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected