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

Method IsMklChannelDim

tensorflow/core/util/mkl_util.h:532–534  ·  view source on GitHub ↗

Query TF-OneDNN dimension ordering map and check if Tensorflow dimension 'd' corresponds to OneDNN's Channel dimension.

Source from the content-addressed store, hash-verified

530 /// Query TF-OneDNN dimension ordering map and check if Tensorflow dimension 'd'
531 /// corresponds to OneDNN's Channel dimension.
532 inline bool IsMklChannelDim(int d) const {
533 return TfDimIdx(d) == MklDnnDims::Dim_C;
534 }
535
536 /// Query TF-OneDNN dimension ordering map and check if Tensorflow dimension 'd'
537 /// corresponds to OneDNN's Batch dimension.

Callers 2

ComputeMethod · 0.80
ComputeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected