Home
last modified time | relevance | path

Searched refs:dot_prod (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/kernels/
Dsvdf_common.cc85 int32_t dot_prod = 0; in EvalIntegerSvdfReference() local
88 dot_prod += in EvalIntegerSvdfReference()
91 dot_prod = MultiplyByQuantizedMultiplier( in EvalIntegerSvdfReference()
92 dot_prod, data.effective_scale_1_a, data.effective_scale_1_b); in EvalIntegerSvdfReference()
93 dot_prod = std::min(std::max(output_min, dot_prod), output_max); in EvalIntegerSvdfReference()
100 *result_in_batch = dot_prod; in EvalIntegerSvdfReference()
Dsvdf.cc174 float dot_prod = 0.0f; in EvalFloatSVDF() local
177 dot_prod += *matrix_ptr++ * *vector_in_batch++; in EvalFloatSVDF()
179 *result_in_batch = dot_prod; in EvalFloatSVDF()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dsvdf.h98 int32_t dot_prod = 0; in EvalIntegerSVDF() local
101 dot_prod += *matrix_data++ * (*vector_in_batch++ - input_zp); in EvalIntegerSVDF()
103 dot_prod = in EvalIntegerSVDF()
104 MultiplyByQuantizedMultiplier(dot_prod, scale_1_a, scale_1_b); in EvalIntegerSVDF()
105 dot_prod = std::min(std::max(output_min, dot_prod), output_max); in EvalIntegerSVDF()
112 *result_in_batch = dot_prod; in EvalIntegerSVDF()
Dportable_tensor_utils.cc127 float dot_prod = 0.0f; in PortableMatrixBatchVectorMultiplyAccumulate() local
130 dot_prod += *matrix_ptr++ * *vector_in_batch++; in PortableMatrixBatchVectorMultiplyAccumulate()
132 *result_in_batch += dot_prod; in PortableMatrixBatchVectorMultiplyAccumulate()
215 float dot_prod = 0.0f; in PortableSparseMatrixBatchVectorMultiplyAccumulate1x4() local
222 dot_prod += *matrix_ptr++ * *vector_block_in_batch_ptr++; in PortableSparseMatrixBatchVectorMultiplyAccumulate1x4()
225 result[batch * m_rows + row] += dot_prod; in PortableSparseMatrixBatchVectorMultiplyAccumulate1x4()
241 float dot_prod = 0.0f; in PortableSparseMatrixBatchVectorMultiplyAccumulate() local
250 dot_prod += *matrix_ptr++ * *vector_block_in_batch_ptr++; in PortableSparseMatrixBatchVectorMultiplyAccumulate()
254 result[batch * m_rows + row] += dot_prod; in PortableSparseMatrixBatchVectorMultiplyAccumulate()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dsvdf.cc190 float dot_prod = 0.0f; in EvalFloatSVDF() local
193 dot_prod += *matrix_ptr++ * *vector_in_batch++; in EvalFloatSVDF()
195 *result_in_batch = dot_prod; in EvalFloatSVDF()