Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_output.h50 void init(const DicNodeStateOutput *const stateOutput) { in init() argument
51 mOutputtedCodePointCount = stateOutput->mOutputtedCodePointCount + 1; in init()
52 memmove(mOutputCodePoints, stateOutput->mOutputCodePoints, in init()
53 stateOutput->mOutputtedCodePointCount * sizeof(mOutputCodePoints[0])); in init()
54 mOutputCodePoints[stateOutput->mOutputtedCodePointCount] = KEYCODE_SPACE; in init()
55 mCurrentWordStart = stateOutput->mOutputtedCodePointCount + 1; in init()
56 mPrevWordCount = std::min(static_cast<int16_t>(stateOutput->mPrevWordCount + 1), in init()
58 mPrevWordsLength = stateOutput->mOutputtedCodePointCount + 1; in init()
59 mPrevWordStart = stateOutput->mCurrentWordStart; in init()
60 mSecondWordFirstInputIndex = stateOutput->mSecondWordFirstInputIndex; in init()
[all …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DUnidirectionalSequenceRNN.cpp110 T* stateOutput = context->getOutputBuffer<T>(kStateOutputTensor); in executeTyped() local
111 std::copy(hiddenState, hiddenState + batchSize * numUnits, stateOutput); in executeTyped()