Searched refs:kProjectionBiasTensor (Results 1 – 6 of 6) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/common/operations/ |
H A D | UnidirectionalSequenceLSTM.cpp | 65 constexpr uint32_t kProjectionBiasTensor = 17; // Optional variable 113 params.use_projection_bias = hasTensor(context, kProjectionBiasTensor); in getLSTMParams() 314 if (hasTensor(context, kProjectionBiasTensor)) { in prepare() 315 const Shape projectionBiasShape = context->getInputShape(kProjectionBiasTensor); in prepare() 451 context->getInputBuffer<float>(kProjectionBiasTensor), in execute() 504 context->getInputBuffer<_Float16>(kProjectionBiasTensor), in execute()
|
H A D | LayerNormLSTMTest.cpp | 244 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke() 248 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
|
H A D | QLSTM.cpp | 65 constexpr uint32_t kProjectionBiasTensor = 17; variable 292 if (hasTensor(context, kProjectionBiasTensor)) { in prepare() 293 const Shape projectionBiasShape = context->getInputShape(kProjectionBiasTensor); in prepare() 455 reinterpret_cast<const int32_t*>(context->getInputBuffer(kProjectionBiasTensor)); in execute()
|
H A D | LSTMTest.cpp | 232 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke() 236 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
|
H A D | LSTM.h | 86 static constexpr int kProjectionBiasTensor = 17; // Optional variable
|
H A D | LSTM.cpp | 81 projection_bias_ = GetInput(operation, operands, kProjectionBiasTensor); // optional in LSTMCell()
|