| /external/gemmlowp/meta/ |
| legacy_operations_common.h | 20 Quantized8BitOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, 24 rhs_offset(rhs_offset), 31 std::int32_t rhs_offset; member in class:Quantized8BitOperation 39 FloatOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, 42 rhs_offset(rhs_offset), 47 std::int32_t rhs_offset; member in class:FloatOperation 53 Int32Operation(std::int32_t lhs_offset, std::int32_t rhs_offset) 54 : lhs_offset(lhs_offset), rhs_offset(rhs_offset) { 58 std::int32_t rhs_offset; member in class:Int32Operation [all...] |
| legacy_multi_thread_gemv.h | 33 GemvQuantized8BitOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, 36 : Quantized8BitOperation(lhs_offset, rhs_offset, sum_offset, multiplier, 43 gemv_q8(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, sum_offset, 55 GemvFloatOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, 57 : FloatOperation(lhs_offset, rhs_offset, result_offset) {} 63 gemv_f(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, result_offset, 75 GemvInt32Operation(std::int32_t lhs_offset, std::int32_t rhs_offset) 76 : Int32Operation(lhs_offset, rhs_offset) {} 82 gemv_i32(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, result); 103 std::int32_t rhs_offset, std::int32_t sum_offset [all...] |
| legacy_multi_thread_gemm.h | 61 GemmQuantized8BitOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, 64 : Quantized8BitOperation(lhs_offset, rhs_offset, sum_offset, multiplier, 81 gemm_q8_strided(scratch, lhs, rhs, m, n, k, lhs_offset, rhs_offset, 93 GemmFloatOperation(std::int32_t lhs_offset, std::int32_t rhs_offset, 95 : FloatOperation(lhs_offset, rhs_offset, result_offset) {} 111 gemm_f_strided(scratch, lhs, rhs, m, n, k, lhs_offset, rhs_offset, 123 GemmInt32Operation(std::int32_t lhs_offset, std::int32_t rhs_offset) 124 : Int32Operation(lhs_offset, rhs_offset) {} 140 gemm_i32_strided(scratch, lhs, rhs, m, n, k, lhs_offset, rhs_offset, result, 162 std::int32_t lhs_offset, std::int32_t rhs_offset, [all...] |
| legacy_single_thread_gemm.h | 32 std::int32_t rhs_offset, std::int32_t result_offset, 56 params.left_stream.multiplicative_sum_offset = rhs_offset; 58 result_offset + k * lhs_offset * rhs_offset; 76 std::int32_t lhs_offset, std::int32_t rhs_offset, 100 params.left_stream.multiplicative_sum_offset = rhs_offset; 102 result_offset + k * lhs_offset * rhs_offset; 125 std::int32_t rhs_offset, std::int32_t* result, 149 params.left_stream.multiplicative_sum_offset = rhs_offset; 150 params.left_stream.additive_sum_offset = k * lhs_offset * rhs_offset; 165 std::int32_t lhs_offset, std::int32_t rhs_offset, [all...] |
| test_gemm_correctness.cc | 35 #define RHS_OFFSET (-127) 105 (static_cast<int>(rhs[depth * j + k]) + RHS_OFFSET); 140 (static_cast<int>(rhs[j + k * cols]) + RHS_OFFSET); 169 (static_cast<int>(rhs[depth * j + k]) + RHS_OFFSET); 189 (static_cast<int>(rhs[j + k * cols]) + RHS_OFFSET); 209 (static_cast<int>(rhs[depth * j + k]) + RHS_OFFSET); 228 (static_cast<int>(rhs[j + k * cols]) + RHS_OFFSET); 247 params->left_stream.multiplicative_sum_offset = RHS_OFFSET; 261 SUM_OFFSET * k + k * LHS_OFFSET * RHS_OFFSET; 278 SUM_OFFSET * k + k * LHS_OFFSET * RHS_OFFSET; [all...] |
| /external/gemmlowp/doc/ |
| low-precision.md | 41 - A int32 rhs_offset, that will be added to each entry of the rhs matrix. 47 2. Cast rhs entries from uint8 to int32 and add rhs_offset to each of them. 64 be interpreted during the matrix computation: - lhs_offset - rhs_offset - 71 2. Cast rhs entries from uint8 to int32 and add rhs_offset to each of them. 97 scheme requires adding the lhs_offset and rhs_offset to each of the lhs and rhs 102 lhs_offset and rhs_offset in registers, which would eat into the register space 105 One may then consider adding the lhs_offset and rhs_offset once and for all to 121 Adding rhs_offset to each entry of `rhs`, means adding `rhs_offset * Q` to 124 Thus, as far as handling `lhs_offset` and `rhs_offset` goes, the matrix produc [all...] |
| public.md | 21 `lhs_offset`, `rhs_offset` to them, is explained in 39 int lhs_offset, int rhs_offset, 49 &uint8_result_matrix, lhs_offset, rhs_offset, output_pipeline); 94 * `lhs_offset`, `rhs_offset` are constants added to each matrix entry in the 142 This is a variant where `lhs_offset` and `rhs_offset` may be vectors instead of
|
| quantization.md | 283 mathematical trick to handle `lhs_offset`, `rhs_offset` that we alluded to 287 `lhs_offset`, `rhs_offset` were 0.
|
| quantization_example.cc | 333 const int rhs_offset = -rhs_qparams.zero_point; 364 &actual_uint8_result_map, lhs_offset, rhs_offset, output_pipeline);
|
| /external/gemmlowp/public/ |
| gemmlowp.h | 39 const RhsOffset& rhs_offset, 42 context, lhs, rhs, result, lhs_offset, rhs_offset, output_pipeline); 57 int lhs_offset, int rhs_offset, 62 const OffsetRowDup rhs_offset_vector(rhs_offset, rhs.cols()); 78 int rhs_offset, int result_offset, int result_mult_int, 81 context, lhs, rhs, result, lhs_offset, rhs_offset,
|
| /external/gemmlowp/internal/ |
| unpack.h | 98 const LhsOffset& lhs_offset, const RhsOffset& rhs_offset, 115 LoadForBroadcasting<RegisterBlockType>(rhs_offset, src_col); 134 const LhsOffset& lhs_offset, const RhsOffset& rhs_offset, 188 rhs_offset, depth, r, c, global_row, global_col, 0, cx); 201 rhs_offset, depth, r, c, global_row, global_col, global_row, 213 rhs_offset, depth, r, c, global_row, global_col, global_row, 229 rhs_sums_of_each_slice, lhs_offset, rhs_offset, depth, r, c, 236 rhs_sums_of_each_slice, lhs_offset, rhs_offset, depth, r, c, 243 rhs_sums_of_each_slice, lhs_offset, rhs_offset, depth, r, c, 256 rhs_sums_of_each_slice, lhs_offset, rhs_offset, depth, r, c [all...] |
| dispatch_gemm_shape.h | 159 const LhsOffset& lhs_offset, const RhsOffset& rhs_offset, 177 Transpose(rhs_offset), Transpose(lhs_offset), 184 lhs_offset, rhs_offset, output_pipeline);
|
| single_thread_gemm.h | 71 const LhsOffset& lhs_offset, const RhsOffset& rhs_offset, 148 lhs_offset.block(r, rs), rhs_offset.block(c, cs), output_pipeline);
|
| multi_thread_gemm.h | 457 rhs_offset(_rhs_offset), 491 rhs_offset.block(curr_result_block.start_col, cs), output_pipeline); 505 const RhsOffset& rhs_offset; member in struct:gemmlowp::GemmWithPackedRhsTask 612 const LhsOffset& lhs_offset, const RhsOffset& rhs_offset, 635 lhs_offset, rhs_offset, 682 lhs_offset, rhs_offset, block_params, output_pipeline));
|
| /external/gemmlowp/eight_bit_int_gemm/ |
| eight_bit_int_gemm.cc | 79 const int rhs_offset = b_offset; local 99 context, lhs, rhs, &result, lhs_offset, rhs_offset, result_offset, \ 117 const int rhs_offset = b_offset; local 136 context, lhs, rhs, &result, lhs_offset, rhs_offset, empty_pipeline); \ 254 std::int32_t lhs_offset, std::int32_t rhs_offset, 265 rhs_offset, sum_offset, multiplicative_offset, 270 scratch->buffer(), rhs, lhs, n, m, k, rhs_offset, 280 std::int32_t lhs_offset, std::int32_t rhs_offset, 289 rhs_offset, result_offset, result); 293 scratch->buffer(), rhs, lhs, n, m, k, rhs_offset, [all...] |
| /external/gemmlowp/test/ |
| test.cc | 134 int rhs_offset, int result_offset, int result_mult_int, 145 const OffsetRowDup rhs_offset_vector(rhs_offset, cols); 174 int rhs_offset, int result_offset, int result_mult_int, 186 const OffsetRowDup rhs_offset_vector(rhs_offset, cols); 211 int rhs_offset, int result_offset, int result_mult_int, 216 rhs_offset, result_offset, result_mult_int, 245 int rhs_offset, int result_offset, int result_mult_int, 254 rhs_offset, rhs.stride(), result->data(), result_offset, 271 int rhs_offset, int result_offset, int result_mult_int, 276 lhs.stride(), rhs.data(), rhs_offset, rhs.stride() 1209 const int rhs_offset = -34; local [all...] |
| correctness_meta_gemm.cc | 64 std::int32_t lhs_offset, std::int32_t rhs_offset, 75 (static_cast<std::int32_t>(right[depth * j + k]) + rhs_offset); 107 std::int32_t lhs_offset, std::int32_t rhs_offset, 116 (static_cast<std::int32_t>(right[depth * j + k]) + rhs_offset); 141 std::int32_t lhs_offset, std::int32_t rhs_offset) { 149 (static_cast<std::int32_t>(right[depth * j + k]) + rhs_offset);
|
| /external/gemmlowp/meta/generators/ |
| gemv_1xMxK_neon.py | 43 'lhs_offset * rhs_offset * k + result_offset') 57 'lhs_offset * rhs_offset * k') 65 ['lhs', 'k', 'k', 'zipped_lhs', 'rhs_offset', 0]) 151 ['std::int32_t', 'rhs_offset']]
|
| gemm_NxMxK_neon.py | 51 'lhs_offset * rhs_offset * k + result_offset') 68 'lhs_offset * rhs_offset * k') 114 ['lhs_chunk', 'k', 'k', 'zipped_lhs', 'rhs_offset', 'const_offset']) 184 ['std::int32_t', 'lhs_offset'], ['std::int32_t', 'rhs_offset']]
|