Home
last modified time | relevance | path

Searched refs:kInputToInputWeightsTensor (Results 1 – 9 of 9) sorted by relevance

/frameworks/ml/nn/common/operations/
DUnidirectionalSequenceLSTM.cpp38 constexpr uint32_t kInputToInputWeightsTensor = 1; // Optional variable
108 params.use_cifg = !hasTensor(context, kInputToInputWeightsTensor); in getLSTMParams()
215 if (hasTensor(context, kInputToInputWeightsTensor)) { in prepare()
216 const Shape inputToInputShape = context->getInputShape(kInputToInputWeightsTensor); in prepare()
249 const bool cifgWeightsAllOrNone = (hasTensor(context, kInputToInputWeightsTensor) && in prepare()
251 (!hasTensor(context, kInputToInputWeightsTensor) && in prepare()
274 const bool cifgUsed = !hasTensor(context, kInputToInputWeightsTensor); in prepare()
400 const bool use_cifg = !hasTensor(context, kInputToInputWeightsTensor); in execute()
425 context->getInputBuffer<float>(kInputToInputWeightsTensor), in execute()
478 context->getInputBuffer<_Float16>(kInputToInputWeightsTensor), in execute()
DQLSTM.cpp36 constexpr uint32_t kInputToInputWeightsTensor = 1; variable
195 if (hasTensor(context, kInputToInputWeightsTensor)) { in prepare()
196 const Shape inputToInputShape = context->getInputShape(kInputToInputWeightsTensor); in prepare()
229 const bool cifgWeightsAllOrNone = (hasTensor(context, kInputToInputWeightsTensor) && in prepare()
231 (!hasTensor(context, kInputToInputWeightsTensor) && in prepare()
254 const bool cifgUsed = !hasTensor(context, kInputToInputWeightsTensor); in prepare()
368 const Shape inputToInputWeightsShape = context->getInputShape(kInputToInputWeightsTensor); in execute()
408 reinterpret_cast<const int8_t*>(context->getInputBuffer(kInputToInputWeightsTensor)); in execute()
DQuantizedLSTM.h40 static constexpr int kInputToInputWeightsTensor = 1; variable
DQuantizedLSTM.cpp226 inputToInputWeights_ = GetInput(operation, operands, kInputToInputWeightsTensor); in QuantizedLSTMCell()
264 auto inputToInputWeights = GetInput(operation, operands, kInputToInputWeightsTensor); in prepare()
DLSTM.h61 static constexpr int kInputToInputWeightsTensor = 1; // Optional variable
DLayerNormLSTMTest.cpp228 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
DQuantizedLSTMTest.cpp98 ASSERT_EQ(setInputTensor(&execution, QuantizedLSTMCell::kInputToInputWeightsTensor, in invoke()
DLSTMTest.cpp217 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
DLSTM.cpp58 GetInput(operation, operands, kInputToInputWeightsTensor); // optional in LSTMCell()