Home
last modified time | relevance | path

Searched refs:sliceSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/common/operations/
DSlice.cpp125 int32_t sliceSize = sizeData[i]; in prepare() local
126 if (sliceSize == -1) { in prepare()
127 sliceSize = getSizeOfDimension(inputShape, i) - sliceBegin; in prepare()
130 NN_RET_CHECK_GE(sliceSize, 0); in prepare()
131 NN_RET_CHECK_LE(sliceBegin + sliceSize, getSizeOfDimension(inputShape, i)); in prepare()
132 outputShape.dimensions[i] = sliceSize; in prepare()
/frameworks/ml/nn/common/
DOperationsUtils.cpp701 const int32_t sliceSize = sizeOfAxisToSplit / numOutputs; in splitPrepare() local
706 output->at(i).dimensions[axis] = sliceSize; in splitPrepare()