/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | depthwiseconv_uint8.h | 41 int16 filter_offset, int32* acc_buffer_ptr) { 49 vdupq_n_s16(filter_offset)); 88 int16 filter_offset, int32* acc_buffer_ptr) { 92 const int16x8_t filter = vaddq_s16(filter_s16, vdupq_n_s16(filter_offset)); 156 int16 filter_offset, int32* acc_buffer_ptr) { 160 const int16x8_t filter = vaddq_s16(filter_s16, vdupq_n_s16(filter_offset)); 226 int16 filter_offset, int32* acc_buffer_ptr) { 232 filter[i] = vaddq_s16(filter_s16, vdupq_n_s16(filter_offset)); 303 int16 filter_offset, int32* acc_buffer_ptr) { 312 const int16x4_t filter = vadd_s16(filter_s16, vdup_n_s16(filter_offset)); [all …]
|
D | legacy_optimized_ops.h | 282 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 304 op_params.weights_offset = filter_offset; in DepthwiseConv() 322 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 331 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv() 342 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 354 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv() 365 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 373 filter_dims, filter_offset, bias_data, bias_dims, stride, in DepthwiseConv() 774 const uint8* filter_data, int32 filter_offset, in LegacyFullyConnectedAsGEMVWorkerImpl() argument 804 const int16x8_t filter_offset_vec = vdupq_n_s16(filter_offset); in LegacyFullyConnectedAsGEMVWorkerImpl() [all …]
|
D | batch_matmul.h | 326 const int32 filter_offset = params.weights_offset; in BatchMatMul() local 338 lhs_params.zero_point = -filter_offset; in BatchMatMul()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | fully_connected.h | 30 const int32_t filter_offset = params.weights_offset; in FullyConnected() local 51 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected() 71 const int32_t filter_offset = params.weights_offset; in FullyConnected() local 91 acc += (filter_val + filter_offset) * input_val; in FullyConnected()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_conv_ops.cc | 58 int filter_offset, int stride, Padding padding, in operator ()() argument 162 static_cast<int32>(filter_source_value) - filter_offset; in operator ()() 204 int filter_offset, int stride, Padding padding, in operator ()() argument 224 filter_height, filter_width, filter_count, filter_offset, in operator ()() 393 -input_offset, -filter_offset, lda, ldb, ldc); in operator ()() 432 &context, lhs, rhs, &result, -input_offset, -filter_offset, in operator ()() 441 input_offset, lda, filter_data, filter_offset, ldb, in operator ()()
|
D | depthwise_conv_op_gpu.h | 140 const int filter_offset = 145 static_cast<S>(ldg(filter + filter_offset)); 163 const int filter_offset = 168 static_cast<S>(ldg(filter + filter_offset)); 274 const int filter_offset = tensor_idx + start_channel; 275 const int inout_offset = batch * in_size + filter_offset; 288 static_cast<S>(ldg(filter_offset + filter)); 425 const int filter_offset = 430 static_cast<S>(ldg(filter + filter_offset)); 453 const int filter_offset = [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | depthwise_conv_hybrid_3x3_filter.h | 140 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 1074 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2076 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2192 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2362 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2566 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 3061 const int32 filter_offset = rt_params.weights_offset; 3072 params.filter_offset = filter_offset;
|
D | fully_connected.h | 39 const int32 filter_offset = params.weights_offset; in FullyConnected() local 68 lhs_params.zero_point = -filter_offset; in FullyConnected()
|
D | depthwise_conv_3x3_filter.h | 122 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 977 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 1934 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2046 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2210 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2407 TFLITE_DCHECK_EQ(params_ptr->filter_offset, 0); 2896 const int32 filter_offset = rt_params.weights_offset; 2911 params.filter_offset = filter_offset;
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | fully_connected.h | 69 const int32_t filter_offset = params.weights_offset; in FullyConnected() local 96 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected() 117 const int32_t filter_offset = params.weights_offset; in FullyConnected() local 146 filter_data[out_c * accum_depth + d] + filter_offset; in FullyConnected()
|
D | legacy_reference_ops.h | 113 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 135 op_params.weights_offset = filter_offset; in DepthwiseConv() 148 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 157 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv() 168 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 180 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv() 191 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument 199 filter_dims, filter_offset, bias_data, bias_dims, stride, in DepthwiseConv() 279 const Dims<4>& filter_dims, int32 filter_offset, in Conv() argument 298 op_params.weights_offset = filter_offset; in Conv() [all …]
|
D | transpose_conv.h | 141 const int32_t filter_offset = params.weights_offset; in TransposeConv() local 183 (filter_value + filter_offset); in TransposeConv()
|
D | depthwiseconv_uint8.h | 108 const int32_t filter_offset = params.weights_offset; in Run() local 152 acc += (filter_val + filter_offset) * in Run()
|
D | conv.h | 117 const int32_t filter_offset = params.weights_offset; in Conv() local 167 (filter_val + filter_offset) * (input_val + input_offset); in Conv()
|
D | batch_matmul.h | 228 const int32_t filter_offset = params.weights_offset; in BatchMatMul() local 255 total += (lhs_val + filter_offset) * (rhs_val + input_offset); in BatchMatMul()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_quantized_test.cc | 617 const RuntimeShape& filter_shape, std::int32_t filter_offset, in TestOneDepthwiseConvWithGivenOutputShift() argument 643 op_params.weights_offset = filter_offset; in TestOneDepthwiseConvWithGivenOutputShift() 754 const RuntimeShape& filter_shape, std::int32_t filter_offset, in TestOneDepthwiseConvBisectOutputShift() argument 770 filter_shape, filter_offset, bias_data, bias_shape, stride, in TestOneDepthwiseConvBisectOutputShift() 798 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConvBisectOutputShift() 813 const RuntimeShape& filter_shape, std::int32_t filter_offset, in TestOneDepthwiseConv() argument 823 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConv() 904 std::int32_t filter_offset = 0; in TryTestDepthwiseConv() local 918 filter_data.data(), filter_shape_inference, filter_offset, in TryTestDepthwiseConv() 929 std::int32_t filter_offset = -kSymmetricZeroPoint; in TryTestDepthwiseConv() local [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/ |
D | depthwise_conv.cc | 176 const int32_t filter_offset = params.weights_offset; in DepthwiseConv() local 236 (filter_val + filter_offset) * (input_val + input_offset); in DepthwiseConv() 443 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local 459 op_params.weights_offset = filter_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/ |
D | fully_connected.cc | 41 const int32_t filter_offset = params.weights_offset; in FullyConnected() local 55 ae_p24x2s offsets_filter_24x2 = AE_MOVPA24(filter_offset); in FullyConnected()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | batch_matmul.cc | 515 int32_t filter_offset = -rhs->params.zero_point; in EvalInt8() local 518 op_params.weights_offset = filter_offset; in EvalInt8() 550 int32_t filter_offset = -rhs->params.zero_point; in EvalInt16() local 553 op_params.weights_offset = filter_offset; in EvalInt16()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | depthwise_conv.cc | 240 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local 256 op_params.weights_offset = filter_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | fully_connected.cc | 297 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local 302 op_params.weights_offset = filter_offset; in EvalQuantized()
|
D | depthwise_conv.cc | 493 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local 509 op_params.weights_offset = filter_offset; in EvalQuantized()
|
D | conv.cc | 275 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local 287 op_params.weights_offset = filter_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/ |
D | depthwise_conv.cc | 362 const int32_t filter_offset = -data->filter_zero_point; in EvalQuantized() local 378 op_params.weights_offset = filter_offset; in EvalQuantized()
|
D | fully_connected.cc | 120 fc_params.filter_offset = -data.reference_op_data.filter_zero_point; in EvalQuantizedInt8()
|