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

Function IsTensorIdRegular

tensorflow/core/grappler/mutable_graph_view.cc:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool IsTensorIdRegular(const TensorId& tensor_id) {
48 return tensor_id.index() > Graph::kControlSlot;
49}
50
51bool IsTensorIdControlling(const TensorId& tensor_id) {
52 return tensor_id.index() == Graph::kControlSlot;

Callers 1

CheckFaninIsRegularFunction · 0.70

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected