Searched refs:aFlatIndex (Results 1 – 5 of 5) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | MaximumMinimum.cpp | 48 uint32_t aFlatIndex; in evalGeneric() local 49 NN_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in evalGeneric() 53 outputData[outputFlatIndex] = isMinimum ? std::min(aData[aFlatIndex], bData[bFlatIndex]) in evalGeneric() 54 : std::max(aData[aFlatIndex], bData[bFlatIndex]); in evalGeneric() 74 uint32_t aFlatIndex; in evalQuant8() local 75 NN_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in evalQuant8() 79 T aValue = requantize<T>(aData[aFlatIndex], aShape, outputShape); in evalQuant8()
|
D | LogicalAndOr.cpp | 49 uint32_t aFlatIndex; in compute() local 50 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in compute() 54 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in compute()
|
D | PRelu.cpp | 57 uint32_t aFlatIndex; in eval() local 58 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in eval() 62 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in eval()
|
D | Comparisons.cpp | 54 uint32_t aFlatIndex; in compute() local 55 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in compute() 61 const float realA = (aData[aFlatIndex] - aShape.offset) * aShape.scale; in compute() 65 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in compute()
|
D | Broadcast.cpp | 220 uint32_t aFlatIndex; in executeInt32() local 221 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in executeInt32() 225 outputData[outputFlatIndex] = func(aData[aFlatIndex], bData[bFlatIndex]); in executeInt32()
|