Home
last modified time | relevance | path

Searched refs:getNumberOfDimensions (Results 1 – 12 of 12) sorted by relevance

/frameworks/ml/nn/common/
DOperationsUtils.cpp56 uint32_t getNumberOfDimensions(const Shape& shape) { in getNumberOfDimensions() function
190 NN_OPS_CHECK(getNumberOfDimensions(in1) <= 4 && getNumberOfDimensions(in2) <= 4); in addMulPrepare()
196 uint32_t numberOfDims1 = getNumberOfDimensions(in1); in addMulPrepare()
197 uint32_t numberOfDims2 = getNumberOfDimensions(in2); in addMulPrepare()
250 NN_OPS_CHECK(getNumberOfDimensions(input) == 4); in convPrepare()
251 NN_OPS_CHECK(getNumberOfDimensions(filter) == 4); in convPrepare()
252 NN_OPS_CHECK(getNumberOfDimensions(bias) == 1); in convPrepare()
287 NN_OPS_CHECK(getNumberOfDimensions(input) == 4); in depthwiseConvPrepare()
288 NN_OPS_CHECK(getNumberOfDimensions(filter) == 4); in depthwiseConvPrepare()
289 NN_OPS_CHECK(getNumberOfDimensions(bias) == 1); in depthwiseConvPrepare()
[all …]
/frameworks/ml/nn/common/operations/
DActivation.cpp74 if (getNumberOfDimensions(inputShape) == 2) { in softmaxFloat32()
81 } else if (getNumberOfDimensions(inputShape) == 4) { in softmaxFloat32()
165 if (getNumberOfDimensions(inputShape) == 2) { in softmaxQuant8()
172 } else if (getNumberOfDimensions(inputShape) == 4) { in softmaxQuant8()
DSimpleMath.cpp283 int32_t* scratchBuffer = new int32_t[getNumberOfDimensions(inputShape)]; in meanGeneric()
294 getNumberOfDimensions(inputShape), in meanGeneric()
297 getNumberOfDimensions(outputShape), in meanGeneric()
303 getNumberOfDimensions(inputShape), in meanGeneric()
306 getNumberOfDimensions(outputShape), in meanGeneric()
DConcatenation.cpp37 getNumberOfDimensions(outputShape) - axis - 1, in concatenationFloat32()
56 getNumberOfDimensions(outputShape) - axis - 1, in concatenationQuant8()
DStridedSlice.cpp42 int32_t numInputDims = static_cast<int32_t>(getNumberOfDimensions(inputShape)); in stridedSliceGeneric()
DReshape.cpp105 int32_t numInputDims = static_cast<int32_t>(getNumberOfDimensions(inputShape)); in padGeneric()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeFrame.java170 if (getFormat().getNumberOfDimensions() != 2) { in setBitmap()
187 if (getFormat().getNumberOfDimensions() != 2) { in getBitmap()
DFrameFormat.java130 public int getNumberOfDimensions() { in getNumberOfDimensions() method in FrameFormat
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DInputPort.java61 if(port.mInfo.type.getNumberOfDimensions() > 0) { in onFrameReceived()
DFrameType.java264 public int getNumberOfDimensions() { in getNumberOfDimensions() method in FrameType
/frameworks/ml/nn/common/include/
DOperationsUtils.h66 uint32_t getNumberOfDimensions(const Shape& shape);
/frameworks/base/config/
Dhiddenapi-private-dex.txt21944 Landroid/filterfw/core/FrameFormat;->getNumberOfDimensions()I