Home
last modified time | relevance | path

Searched refs:kProjectionBiasTensor (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/common/operations/
H A DUnidirectionalSequenceLSTM.cpp65 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 DLayerNormLSTMTest.cpp244 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
248 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
H A DQLSTM.cpp65 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 DLSTMTest.cpp232 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
236 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
H A DLSTM.h86 static constexpr int kProjectionBiasTensor = 17; // Optional variable
H A DLSTM.cpp81 projection_bias_ = GetInput(operation, operands, kProjectionBiasTensor); // optional in LSTMCell()