/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
D | typing_weighting.h | 185 const int inputIndex = dicNode->getInputIndex(0); in getTerminalInsertionCost() local 187 ASSERT(inputIndex < inputSize); in getTerminalInsertionCost() 189 return ScoringParams::TERMINAL_INSERTION_COST * (inputSize - inputIndex); in getTerminalInsertionCost() 206 const int inputIndex = dicNode->getInputIndex(0); in getSpaceSubstitutionCost() local 208 ->getPointToKeyLength(inputIndex, KEYCODE_SPACE); in getSpaceSubstitutionCost()
|
/packages/modules/NeuralNetworks/common/operations/ |
D | Gather.cpp | 49 const auto inputIndex = static_cast<uint32_t>(indicesData[outputIndex]); in eval() local 50 NN_RET_CHECK_LE(0u, inputIndex); in eval() 51 NN_RET_CHECK_LT(inputIndex, axisSize); in eval() 53 inputData + (outer * axisSize + inputIndex) * innerSize, in eval()
|
D | GroupedConv2D.cpp | 81 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvFloat32() local 83 sum += filterBase[filterIndex] * inputBase[inputIndex]; in groupedConvFloat32() 153 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvQuant8() local 157 (static_cast<int32_t>(inputBase[inputIndex]) + in groupedConvQuant8() 257 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvQuant8PerChannel() local 260 (static_cast<int32_t>(inputBase[inputIndex]) + in groupedConvQuant8PerChannel()
|
D | Slice.cpp | 61 std::vector<uint32_t> inputIndex(getNumberOfDimensions(inputShape)); in evalGeneric() local 72 addVectors(outputIndex, beginIndex, &inputIndex); in evalGeneric() 75 NN_RET_CHECK(indexedInput.indexToFlatIndex(inputIndex, &inputOffset)); in evalGeneric()
|
D | UnidirectionalSequenceRNN.cpp | 56 const uint32_t inputIndex = f * secondDimSize * inputSize + s * inputSize + i; in transposeFirstTwoDims() local 58 output[outputIndex] = input[inputIndex]; in transposeFirstTwoDims()
|
D | BidirectionalSequenceRNN.cpp | 72 const uint32_t inputIndex = f * secondDimSize * inputSize + s * inputSize + i; in transposeFirstTwoDims() local 74 output[outputIndex] = input[inputIndex]; in transposeFirstTwoDims()
|
D | DepthwiseConv2D.cpp | 346 uint32_t inputIndex = hInput * inputWidth * inputDepth + in depthwiseConvQuant8PerChannelNhwc() local 349 (static_cast<int32_t>(inputBase[inputIndex]) + in depthwiseConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 419 uint32_t inputIndex = hInput * inputWidth * inputDepth + in convQuant8PerChannelNhwc() local 422 (static_cast<int32_t>(inputBase[inputIndex]) + in convQuant8PerChannelNhwc()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state_utils.cpp | 159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateSquaredDistanceFromSweetSpotCenter() argument 162 const float inputX = static_cast<float>((*sampledInputXs)[inputIndex]); in calculateSquaredDistanceFromSweetSpotCenter() 163 const float inputY = static_cast<float>((*sampledInputYs)[inputIndex]); in calculateSquaredDistanceFromSweetSpotCenter() 170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateNormalizedSquaredDistance() argument 177 if (NOT_A_COORDINATE == (*sampledInputXs)[inputIndex]) { in calculateNormalizedSquaredDistance() 181 sampledInputXs, sampledInputYs, keyIndex, inputIndex); in calculateNormalizedSquaredDistance() 402 const int maxPointToKeyLength, const int inputIndex, const int nodeCodePoint, int x, int y, in pushTouchPoint() argument 467 sampledInputIndice->push_back(inputIndex); in pushTouchPoint() 470 x, y, time, inputIndex, popped); in pushTouchPoint() 605 const int inputIndex, const int keyId) { in getPointToKeyByIdLength() argument [all …]
|
D | proximity_info_state_utils.h | 84 const int inputIndex, const int keyId); 128 const int maxPointToKeyLength, const int inputIndex, const int nodeCodePoint, int x, 154 const int inputIndex); 157 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
|
D | proximity_info_state.cpp | 170 const int inputIndex, const int codePoint) const { in getPointToKeyLength() argument 173 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId; in getPointToKeyLength() 184 const int inputIndex, const int keyId) const { in getPointToKeyByIdLength() argument 186 &mSampledNormalizedSquaredLengthCache, mProximityInfo->getKeyCount(), inputIndex, in getPointToKeyByIdLength()
|
D | proximity_info_state.h | 147 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const; 149 float getPointToKeyLength(const int inputIndex, const int codePoint) const;
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioningRandom.cpp | 398 unsigned inputIndex) { in makeEluSpecialInput() argument 399 if (inputIndex != 1) { in makeEluSpecialInput() 411 int makeRnnSpecialInput(unsigned problemSize, TestModel* model, unsigned inputIndex) { in makeRnnSpecialInput() argument 412 if (inputIndex != 3) { in makeRnnSpecialInput() 429 unsigned inputIndex) { in makeTransposeSpecialInput() argument 430 if (inputIndex != 1) { in makeTransposeSpecialInput() 1336 uint32_t inputIndex = 0, outputIndex = 0; in TEST_P() local 1340 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() 1344 e->setInput(inputIndex++, desc.mVector.data(), in TEST_P() 1359 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
D | dic_node_state_input.h | 49 void updateInputIndexG(const int pointerId, const int inputIndex, in updateInputIndexG() argument 51 mInputIndex[pointerId] = inputIndex; in updateInputIndexG()
|
D | dic_node_state_output.h | 101 void setSecondWordFirstInputIndex(const int inputIndex) { in setSecondWordFirstInputIndex() argument 102 mSecondWordFirstInputIndex = inputIndex; in setSecondWordFirstInputIndex()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_nodes_cache.h | 79 bool isLookAheadCorrectionInputIndex(const int inputIndex) const { in isLookAheadCorrectionInputIndex() argument 80 return inputIndex == mInputIndex - 1; in isLookAheadCorrectionInputIndex()
|
D | dic_node.h | 261 const int inputIndex = mDicNodeState.mDicNodeStateOutput.getSecondWordFirstInputIndex(); in getSecondWordFirstInputIndex() local 262 if (inputIndex == NOT_AN_INDEX) { in getSecondWordFirstInputIndex() 265 return pInfoState->getInputIndexOfSampledPoint(inputIndex); in getSecondWordFirstInputIndex()
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.h | 369 int setInputFromMemory(uint32_t inputIndex, const RuntimeMemory* memory, uint32_t offset, 371 return setInputOrOutputFromMemory(mModel->getInputOperand(inputIndex), memory, offset, 372 length, dimensions, &mInputs.at(inputIndex));
|