Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dsse_tensor_utils.cc103 const float batch_scaling_factor = scaling_factors[batch]; in SseMatrixBatchVectorMultiplyAccumulateImpl() local
110 per_channel_scale ? per_channel_scale[row] * batch_scaling_factor in SseMatrixBatchVectorMultiplyAccumulateImpl()
111 : batch_scaling_factor; in SseMatrixBatchVectorMultiplyAccumulateImpl()
254 const float batch_scaling_factor = scaling_factors[i / m_rows]; in SseMatrixBatchVectorMultiplyAccumulate() local
256 *result += x * batch_scaling_factor; in SseMatrixBatchVectorMultiplyAccumulate()
Dbatch_matmul.h230 const float batch_scaling_factor = scale_ptr2[j]; in BatchMatMul() local
234 const float32x4_t scaling_factor0 = vdupq_n_f32(batch_scaling_factor); in BatchMatMul()
235 const float32x4_t scaling_factor1 = vdupq_n_f32(batch_scaling_factor); in BatchMatMul()
263 out_ptr[idx] += batch_scaling_factor * accum_scratch[idx]; in BatchMatMul()
Dneon_tensor_utils.cc1099 const float batch_scaling_factor = scaling_factors[batch]; in NeonMatrixBatchVectorMultiplyAccumulate() local
1165 *result += dotprod * batch_scaling_factor; in NeonMatrixBatchVectorMultiplyAccumulate()
1209 const float batch_scaling_factor = scaling_factors[i / m_rows]; in NeonMatrixBatchVectorMultiplyAccumulate() local
1211 *result += x * batch_scaling_factor; in NeonMatrixBatchVectorMultiplyAccumulate()
1291 const float batch_scaling_factor = scaling_factors[batch]; in NeonMatrixBatchVectorMultiplyAccumulateImpl() local
1300 float scale = batch_scaling_factor; in NeonMatrixBatchVectorMultiplyAccumulateImpl()
1448 float batch_scaling_factor = scaling_factors[i / m_rows]; in NeonMatrixBatchVectorMultiplyAccumulate() local
1450 batch_scaling_factor *= per_channel_scale[i % m_rows]; in NeonMatrixBatchVectorMultiplyAccumulate()
1455 *result += dotprod * batch_scaling_factor; in NeonMatrixBatchVectorMultiplyAccumulate()
1997 const float batch_scaling_factor = scaling_factors[batch]; in NeonSparseMatrixBatchVectorMultiplyAccumulate() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dportable_tensor_utils.cc143 const float batch_scaling_factor = scaling_factors[batch]; in PortableMatrixBatchVectorMultiplyAccumulate() local
157 *result += dotprod * batch_scaling_factor; in PortableMatrixBatchVectorMultiplyAccumulate()
182 const float batch_scaling_factor = scaling_factors[batch]; in PortableMatrixBatchVectorMultiplyAccumulate() local
187 float scale = batch_scaling_factor; in PortableMatrixBatchVectorMultiplyAccumulate()
267 const float batch_scaling_factor = scaling_factors[batch]; in PortableSparseMatrixBatchVectorMultiplyAccumulate() local
287 result[batch * m_rows + row] += dotprod * batch_scaling_factor; in PortableSparseMatrixBatchVectorMultiplyAccumulate()
Dbatch_matmul.h179 const float batch_scaling_factor = scale_ptr2[j]; in BatchMatMul() local
190 out_ptr[idx] += batch_scaling_factor * total; in BatchMatMul()