Searched refs:aFlatIndex (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | MaximumMinimum.cpp | 42 uint32_t aFlatIndex; in evalGeneric() local 43 NN_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in evalGeneric() 47 outputData[outputFlatIndex] = isMinimum ? std::min(aData[aFlatIndex], bData[bFlatIndex]) in evalGeneric() 48 : std::max(aData[aFlatIndex], bData[bFlatIndex]); in evalGeneric() 68 uint32_t aFlatIndex; in evalQuant8() local 69 NN_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in evalQuant8() 73 uint8_t aValue = requantize(aData[aFlatIndex], aShape, outputShape); in evalQuant8()
|
D | LogicalAndOr.cpp | 47 uint32_t aFlatIndex; in compute() local 48 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in compute() 52 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in compute()
|
D | PRelu.cpp | 51 uint32_t aFlatIndex; in eval() local 52 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in eval() 56 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in eval()
|
D | Comparisons.cpp | 49 uint32_t aFlatIndex; in compute() local 50 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in compute() 55 const float realA = (aData[aFlatIndex] - aShape.offset) * aShape.scale; in compute() 59 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in compute()
|