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

Function GetTensorMetaDataIndex

tensorflow/core/graph/mkl_graph_util.h:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73int inline GetTensorMetaDataIndex(int n, int total_tensors) {
74 // Get index for TensorData first and then use mapping function
75 // to get TensorMetaData index from TensorData index.
76 int tidx = GetTensorDataIndex(n, total_tensors);
77 return DataIndexToMetaDataIndex(tidx, total_tensors);
78}
79
80// check if the control between src and dst nodes already exists
81bool inline DoesControlEdgeExist(const Node* src, const Node* dst) {

Callers 8

FixMklMetaDataEdgesMethod · 0.85
GetMklShapeFunction · 0.85
CopyMklTensorInToOutFunction · 0.85
ForwardMklTensorInToOutFunction · 0.85

Calls 2

GetTensorDataIndexFunction · 0.85
DataIndexToMetaDataIndexFunction · 0.85

Tested by

no test coverage detected