Searched refs:kInputToInputWeightsTensor (Results 1 – 9 of 9) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | UnidirectionalSequenceLSTM.cpp | 38 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()
|
D | QLSTM.cpp | 36 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()
|
D | QuantizedLSTM.h | 40 static constexpr int kInputToInputWeightsTensor = 1; variable
|
D | QuantizedLSTM.cpp | 226 inputToInputWeights_ = GetInput(operation, operands, kInputToInputWeightsTensor); in QuantizedLSTMCell() 264 auto inputToInputWeights = GetInput(operation, operands, kInputToInputWeightsTensor); in prepare()
|
D | LSTM.h | 61 static constexpr int kInputToInputWeightsTensor = 1; // Optional variable
|
D | LayerNormLSTMTest.cpp | 228 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
|
D | QuantizedLSTMTest.cpp | 98 ASSERT_EQ(setInputTensor(&execution, QuantizedLSTMCell::kInputToInputWeightsTensor, in invoke()
|
D | LSTMTest.cpp | 217 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
|
D | LSTM.cpp | 58 GetInput(operation, operands, kInputToInputWeightsTensor); // optional in LSTMCell()
|