Home
last modified time | relevance | path

Searched refs:filter_offset (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8.h41 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 …]
Dlegacy_optimized_ops.h282 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 …]
Dbatch_matmul.h326 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/
Dfully_connected.h30 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/
Dquantized_conv_ops.cc58 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 ()()
Ddepthwise_conv_op_gpu.h140 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/
Ddepthwise_conv_hybrid_3x3_filter.h140 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;
Dfully_connected.h39 const int32 filter_offset = params.weights_offset; in FullyConnected() local
68 lhs_params.zero_point = -filter_offset; in FullyConnected()
Ddepthwise_conv_3x3_filter.h122 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/
Dfully_connected.h69 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()
Dlegacy_reference_ops.h113 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 …]
Dtranspose_conv.h141 const int32_t filter_offset = params.weights_offset; in TransposeConv() local
183 (filter_value + filter_offset); in TransposeConv()
Ddepthwiseconv_uint8.h108 const int32_t filter_offset = params.weights_offset; in Run() local
152 acc += (filter_val + filter_offset) * in Run()
Dconv.h117 const int32_t filter_offset = params.weights_offset; in Conv() local
167 (filter_val + filter_offset) * (input_val + input_offset); in Conv()
Dbatch_matmul.h228 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/
Ddepthwiseconv_quantized_test.cc617 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/
Ddepthwise_conv.cc176 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/
Dfully_connected.cc41 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/
Dbatch_matmul.cc515 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/
Ddepthwise_conv.cc240 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/
Dfully_connected.cc297 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local
302 op_params.weights_offset = filter_offset; in EvalQuantized()
Ddepthwise_conv.cc493 const int32_t filter_offset = -data.filter_zero_point; in EvalQuantized() local
509 op_params.weights_offset = filter_offset; in EvalQuantized()
Dconv.cc275 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/
Ddepthwise_conv.cc362 const int32_t filter_offset = -data->filter_zero_point; in EvalQuantized() local
378 op_params.weights_offset = filter_offset; in EvalQuantized()
Dfully_connected.cc120 fc_params.filter_offset = -data.reference_op_data.filter_zero_point; in EvalQuantizedInt8()

12