Home
last modified time | relevance | path

Searched refs:outputFlatIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/common/operations/
DMaximumMinimum.cpp46 uint32_t outputFlatIndex; in evalGeneric() local
47 NN_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in evalGeneric()
53 outputData[outputFlatIndex] = isMinimum ? std::min(aData[aFlatIndex], bData[bFlatIndex]) in evalGeneric()
72 uint32_t outputFlatIndex; in evalQuant8() local
73 NN_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in evalQuant8()
81 outputData[outputFlatIndex] = in evalQuant8()
DPow.cpp44 uint32_t outputFlatIndex; in evalGeneric() local
45 NN_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in evalGeneric()
51 outputData[outputFlatIndex] = std::pow(static_cast<float>(baseData[baseFlatIndex]), in evalGeneric()
DLogicalAndOr.cpp47 uint32_t outputFlatIndex; in compute() local
48 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in compute()
54 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in compute()
DPRelu.cpp55 uint32_t outputFlatIndex; in eval() local
56 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in eval()
62 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in eval()
DComparisons.cpp52 uint32_t outputFlatIndex; in compute() local
53 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in compute()
63 outputData[outputFlatIndex] = func(realA, realB); in compute()
65 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in compute()
DBroadcast.cpp218 uint32_t outputFlatIndex; in executeInt32() local
219 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in executeInt32()
225 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in executeInt32()