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

Function GetTensorInnerFeatureDimIndex

tensorflow/core/util/tensor_format.h:210–213  ·  view source on GitHub ↗

Returns the index of the inner feature dimension.

Source from the content-addressed store, hash-verified

208
209// Returns the index of the inner feature dimension.
210inline 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.
216inline int GetTensorInnerWidthDimIndex(int num_dims, TensorFormat format) {

Callers 5

MakeShapeFromFormatFunction · 0.85
DimensionsFromShapeFunction · 0.85
ShapeFromDimensionsFunction · 0.85
ShapeFromFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected