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

Function IsTensorIdRegular

tensorflow/core/grappler/utils/graph_view.cc:217–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215const char kMutationAddNodeError[] = "Mutation::AddNode error: ";
216
217bool IsTensorIdRegular(const TensorId& tensor_id) {
218 return tensor_id.index() >= 0;
219}
220} // namespace
221
222Mutation::Mutation(MutableGraphView* graph_view) : graph_view_(graph_view) {}

Callers 1

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected