| 71 | } |
| 72 | |
| 73 | int 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 |
| 81 | bool inline DoesControlEdgeExist(const Node* src, const Node* dst) { |
no test coverage detected