Returns the index of the inner feature dimension.
| 208 | |
| 209 | // Returns the index of the inner feature dimension. |
| 210 | inline int GetTensorInnerFeatureDimIndex(int num_dims, TensorFormat format) { |
| 211 | DCHECK_EQ(format, FORMAT_NCHW_VECT_C); |
| 212 | return num_dims - 1; |
| 213 | } |
| 214 | |
| 215 | // Returns the index of the inner width dimension. |
| 216 | inline int GetTensorInnerWidthDimIndex(int num_dims, TensorFormat format) { |
no outgoing calls
no test coverage detected