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

Method GetDimension3D

tensorflow/core/util/mkl_util.h:328–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 }
327
328 inline size_t GetDimension3D(char dimension) const {
329 int index = GetMklDnnTensor3DDimIndex(dimension);
330 CHECK(index >= 0 && index < this->GetDimension())
331 << "Invalid index from the dimension: " << index << ", " << dimension;
332 return this->DimSize(index);
333 }
334
335 inline int32 GetMklDnnTensorDimIndex(char dimension) const {
336 switch (dimension) {

Callers 1

InitMethod · 0.80

Calls 2

GetDimensionMethod · 0.95
DimSizeMethod · 0.95

Tested by

no test coverage detected