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

Method Dims

tensorflow/lite/kernels/internal/types.h:189–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188 inline int32 DimensionsCount() const { return size_; }
189 inline int32 Dims(int i) const {
190 TFLITE_DCHECK_GE(i, 0);
191 TFLITE_DCHECK_LT(i, size_);
192 return size_ > kMaxSmallSize ? dims_pointer_[i] : dims_[i];
193 }
194 inline void SetDim(int i, int32 val) {
195 TFLITE_DCHECK_GE(i, 0);
196 TFLITE_DCHECK_LT(i, size_);

Callers 15

PrepareFunction · 0.80
EvalFunction · 0.80
RunTestPermutationFunction · 0.80
ResizeCol2ImTensorFunction · 0.80
TestOneDepthwiseConvFunction · 0.80
RunOneLogSoftmaxTestFunction · 0.80
ToRuntimeDimsFunction · 0.80
MatchingDimFunction · 0.80
MatchingFlatSizeFunction · 0.80
MatchingFlatSizeSkipDimFunction · 0.80
DispatchDepthwiseConvFunction · 0.80

Calls

no outgoing calls

Tested by 8

RunTestPermutationFunction · 0.64
TestOneDepthwiseConvFunction · 0.64
RunOneLogSoftmaxTestFunction · 0.64
DispatchDepthwiseConvFunction · 0.64
ComputeConvSizesFunction · 0.64
PickOutputMultiplierFunction · 0.64