24.02
|
Go to the source code of this file.
Functions | |
void | VectorBatchVectorAdd (armnn::Decoder< float > &vector, uint32_t vSize, armnn::Decoder< float > &batchVector, uint32_t nBatch, armnn::Encoder< float > &outResult) |
void | MeanStddevNormalization (armnn::Decoder< float > &input_vector, armnn::Encoder< float > &output_vector, uint32_t v_size, uint32_t n_batch, float normalization_epsilon) |
void | ZeroVector (armnn::Encoder< float > &vector, uint32_t vSize) |
void | MatrixBatchVectorMultiplyAccumulate (armnn::Decoder< float > &matrix, uint32_t mRows, uint32_t mCols, armnn::Decoder< float > &vector, uint32_t nBatch, armnn::Encoder< float > &outResult) |
void | VectorBatchVectorAssign (armnn::Decoder< float > &vector, uint32_t vSize, uint32_t nBatch, armnn::Encoder< float > &outBatchVector) |
void | VectorBatchVectorCwiseProductAccumulate (armnn::Decoder< float > &vector, uint32_t vSize, armnn::Decoder< float > &batchVector, uint32_t nBatch, armnn::Encoder< float > &outResult) |
void | VectorBatchVectorCwiseProduct (armnn::Decoder< float > &vector, uint32_t vSize, armnn::Decoder< float > &batchVector, uint32_t nBatch, armnn::Encoder< float > &outResult) |
void | Sub1Vector (armnn::Decoder< float > &vector, uint32_t vSize, armnn::Encoder< float > &result) |
void | VectorVectorCwiseProduct (armnn::Decoder< float > &vector1, armnn::Decoder< float > &vector2, uint32_t vSize, armnn::Encoder< float > &outResult) |
void | VectorVectorCwiseProductAccumulate (armnn::Decoder< float > &vector1, armnn::Decoder< float > &vector2, uint32_t vSize, armnn::Encoder< float > &outResult) |
float | Clip (float f, float absLimit) |
void | ClipVector (armnn::Decoder< float > &vector, uint32_t vSize, float absLimit, armnn::Encoder< float > &outResult) |
void | CopyVector (armnn::Decoder< float > &vector, uint32_t vSize, armnn::Encoder< float > &outResult) |
void | SetActivationParameters (uint32_t activation, armnn::ActivationFunction &outArmnnActivation, float &outA, float &outB) |
std::unique_ptr< armnn::ScopedTensorHandle > | AssignScopedTensorHandle (const armnn::ConstTensorHandle *ptr) |
std::unique_ptr<armnn::ScopedTensorHandle> AssignScopedTensorHandle | ( | const armnn::ConstTensorHandle * | ptr | ) |
Definition at line 299 of file LstmUtils.cpp.
float Clip | ( | float | f, |
float | absLimit | ||
) |
void ClipVector | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
float | absLimit, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 229 of file LstmUtils.cpp.
References Clip(), Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void CopyVector | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 244 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void MatrixBatchVectorMultiplyAccumulate | ( | armnn::Decoder< float > & | matrix, |
uint32_t | mRows, | ||
uint32_t | mCols, | ||
armnn::Decoder< float > & | vector, | ||
uint32_t | nBatch, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 87 of file LstmUtils.cpp.
References Decoder< IType >::Get(), Encoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void MeanStddevNormalization | ( | armnn::Decoder< float > & | input_vector, |
armnn::Encoder< float > & | output_vector, | ||
uint32_t | v_size, | ||
uint32_t | n_batch, | ||
float | normalization_epsilon | ||
) |
Definition at line 40 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void SetActivationParameters | ( | uint32_t | activation, |
armnn::ActivationFunction & | outArmnnActivation, | ||
float & | outA, | ||
float & | outB | ||
) |
Definition at line 258 of file LstmUtils.cpp.
References armnn::BoundedReLu, armnn::ReLu, armnn::Sigmoid, and armnn::TanH.
Referenced by armnn::LstmImpl().
void Sub1Vector | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
armnn::Encoder< float > & | result | ||
) |
Definition at line 173 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void VectorBatchVectorAdd | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
armnn::Decoder< float > & | batchVector, | ||
uint32_t | nBatch, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 16 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void VectorBatchVectorAssign | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
uint32_t | nBatch, | ||
armnn::Encoder< float > & | outBatchVector | ||
) |
Definition at line 113 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void VectorBatchVectorCwiseProduct | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
armnn::Decoder< float > & | batchVector, | ||
uint32_t | nBatch, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 152 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void VectorBatchVectorCwiseProductAccumulate | ( | armnn::Decoder< float > & | vector, |
uint32_t | vSize, | ||
armnn::Decoder< float > & | batchVector, | ||
uint32_t | nBatch, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 131 of file LstmUtils.cpp.
References Decoder< IType >::Get(), Encoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void VectorVectorCwiseProduct | ( | armnn::Decoder< float > & | vector1, |
armnn::Decoder< float > & | vector2, | ||
uint32_t | vSize, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 187 of file LstmUtils.cpp.
References Decoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void VectorVectorCwiseProductAccumulate | ( | armnn::Decoder< float > & | vector1, |
armnn::Decoder< float > & | vector2, | ||
uint32_t | vSize, | ||
armnn::Encoder< float > & | outResult | ||
) |
Definition at line 204 of file LstmUtils.cpp.
References Decoder< IType >::Get(), Encoder< IType >::Get(), and Encoder< IType >::Set().
Referenced by armnn::LstmImpl().
void ZeroVector | ( | armnn::Encoder< float > & | vector, |
uint32_t | vSize | ||
) |
Definition at line 76 of file LstmUtils.cpp.
References Encoder< IType >::Set().
Referenced by armnn::LstmImpl().