Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8.h40 int16 filter_offset, int32* acc_buffer_ptr) {
48 vdupq_n_s16(filter_offset));
87 int16 filter_offset, int32* acc_buffer_ptr) {
91 const int16x8_t filter = vaddq_s16(filter_s16, vdupq_n_s16(filter_offset));
155 int16 filter_offset, int32* acc_buffer_ptr) {
159 const int16x8_t filter = vaddq_s16(filter_s16, vdupq_n_s16(filter_offset));
225 int16 filter_offset, int32* acc_buffer_ptr) {
231 filter[i] = vaddq_s16(filter_s16, vdupq_n_s16(filter_offset));
302 int16 filter_offset, int32* acc_buffer_ptr) {
311 const int16x4_t filter = vadd_s16(filter_s16, vdup_n_s16(filter_offset));
[all …]
Dlegacy_optimized_ops.h209 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
231 op_params.weights_offset = filter_offset; in DepthwiseConv()
244 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
253 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv()
264 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
276 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv()
287 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
295 filter_dims, filter_offset, bias_data, bias_dims, stride, in DepthwiseConv()
358 const Dims<4>& filter_dims, int32 filter_offset, in FullyConnected() argument
367 op_params.weights_offset = filter_offset; in FullyConnected()
[all …]
Doptimized_ops.h819 const uint8* filter_data, int32 filter_offset, in FullyConnectedAsGEMVWorkerImpl() argument
849 const int16x8_t filter_offset_vec = vdupq_n_s16(filter_offset); in FullyConnectedAsGEMVWorkerImpl()
977 filter_data[in + (out + k) * input_size] + filter_offset; in FullyConnectedAsGEMVWorkerImpl()
1037 const uint8* filter_data, int32 filter_offset, in FullyConnectedAsGEMVWorkerTask()
1050 filter_offset_(filter_offset), in FullyConnectedAsGEMVWorkerTask()
1095 const uint8* filter_data, int32 filter_offset, in FullyConnectedAsGEMV() argument
1112 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnectedAsGEMV()
1128 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnectedAsGEMV()
1174 const int32 filter_offset = params.weights_offset; in FullyConnected() local
1197 filter_offset, bias_shape, bias_data, output_offset, in FullyConnected()
[all …]
Ddepthwiseconv_uint8_3x3_filter.h285 int32 filter_offset;
340 static_assert(offsetof(DepthwiseConvParams, filter_offset) ==
3551 const int32 filter_offset = rt_params.weights_offset;
3568 params.filter_offset = filter_offset;
/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_quantized_test.cc292 std::int32_t filter_offset, const std::int32_t* bias_data, in TestOneDepthwiseConvWithGivenOutputShift() argument
314 op_params.weights_offset = filter_offset; in TestOneDepthwiseConvWithGivenOutputShift()
425 std::int32_t filter_offset, const std::int32_t* bias_data, in TestOneDepthwiseConvBisectOutputShift() argument
438 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConvBisectOutputShift()
465 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConvBisectOutputShift()
475 std::int32_t filter_offset, const std::int32_t* bias_data, in TestOneDepthwiseConv() argument
483 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConv()
514 std::int32_t filter_offset = -kSymmetricZeroPoint; in TryTestDepthwiseConv() local
516 filter_offset = UniformRandomInt(-255, 0); in TryTestDepthwiseConv()
543 filter_data.data(), filter_shape_inference, filter_offset, in TryTestDepthwiseConv()
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_op_gpu.h127 const int filter_offset = in DepthwiseConv2dGPUKernelNHWC() local
131 sum += ldg(input + input_offset) * ldg(filter + filter_offset); in DepthwiseConv2dGPUKernelNHWC()
149 const int filter_offset = in DepthwiseConv2dGPUKernelNHWC() local
153 sum += ldg(input + input_offset) * ldg(filter + filter_offset); in DepthwiseConv2dGPUKernelNHWC()
257 const int filter_offset = tensor_idx + start_channel; in DepthwiseConv2dGPUKernelNHWCSmall() local
258 const int inout_offset = batch * in_size + filter_offset; in DepthwiseConv2dGPUKernelNHWCSmall()
271 static_cast<S>(ldg(filter_offset + filter)); in DepthwiseConv2dGPUKernelNHWCSmall()
405 const int filter_offset = in DepthwiseConv2dGPUKernelNCHW() local
409 sum += ldg(input + input_offset) * ldg(filter + filter_offset); in DepthwiseConv2dGPUKernelNCHW()
432 const int filter_offset = in DepthwiseConv2dGPUKernelNCHW() local
[all …]
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_grad_op.cc495 int filter_offset = in DepthwiseConvBackpropInputReference() local
500 out_backprop[out_backprop_offset] * filter[filter_offset]; in DepthwiseConvBackpropInputReference()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/
Ddepthwise_conv.cc109 const int32 filter_offset = params.weights_offset; in DepthwiseConvOptimizedForFilterWidthEight() local
157 *reshaped_filter = (int32_t)(*current_filter) + filter_offset; in DepthwiseConvOptimizedForFilterWidthEight()
251 (filter_val + filter_offset) * (input_val + input_offset); in DepthwiseConvOptimizedForFilterWidthEight()
318 const int32_t filter_offset = -filter->params.zero_point; in EvalQuantized() local
334 op_params.weights_offset = filter_offset; in EvalQuantized()
348 if ((filter_width == 8) && (input_offset == 0) && (filter_offset == -127) && in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dfully_connected.h31 const int32 filter_offset = params.weights_offset; in FullyConnected() local
52 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dfully_connected.h73 const int32 filter_offset = params.weights_offset; in FullyConnected() local
100 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
122 const int32 filter_offset = params.weights_offset; in FullyConnected() local
150 int16 filter_val = filter_data[out_c * accum_depth + d] + filter_offset; in FullyConnected()
Dlegacy_reference_ops.h110 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
132 op_params.weights_offset = filter_offset; in DepthwiseConv()
145 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
154 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv()
165 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
177 filter_offset, bias_data, bias_dims, stride_width, in DepthwiseConv()
188 const Dims<4>& filter_dims, int32 filter_offset, in DepthwiseConv() argument
196 filter_dims, filter_offset, bias_data, bias_dims, stride, in DepthwiseConv()
276 const Dims<4>& filter_dims, int32 filter_offset, in Conv() argument
295 op_params.weights_offset = filter_offset; in Conv()
[all …]
Ddepthwiseconv_uint8.h109 const int32 filter_offset = params.weights_offset; in Run() local
153 acc += (filter_val + filter_offset) * in Run()
Dreference_ops.h222 const int32 filter_offset = params.weights_offset; in Conv() local
268 (filter_val + filter_offset) * (input_val + input_offset); in Conv()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Dfully_connected.cc87 const int32_t filter_offset = -filter->params.zero_point; in EvalQuantized() local
92 op_params.weights_offset = filter_offset; in EvalQuantized()
Ddepthwise_conv.cc127 const int32_t filter_offset = -filter->params.zero_point; in EvalQuantized() local
143 op_params.weights_offset = filter_offset; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/
Ddepthwise_conv.cc230 auto filter_offset = -filter->params.zero_point; in EvalQuantized() local
254 op_params.weights_offset = filter_offset; in EvalQuantized()
Dconv.cc428 auto filter_offset = -filter->params.zero_point; in EvalQuantized() local
454 op_params.weights_offset = filter_offset; in EvalQuantized()
481 op_params.weights_offset = filter_offset; in EvalQuantized()
Dfully_connected.cc321 int32_t filter_offset = -filter->params.zero_point; in EvalQuantized() local
327 op_params.weights_offset = filter_offset; \ in EvalQuantized()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h964 const uint8* filter_data, int32 filter_offset, in FullyConnectedAsGEMV() argument
996 const int16x8_t filter_offset_vec = vdupq_n_s16(filter_offset); in FullyConnectedAsGEMV()
1067 filter_data[in + (out + k) * input_size] + filter_offset; in FullyConnectedAsGEMV()
1157 const int32 filter_offset = params.weights_offset; in FullyConnected() local
1179 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnected()
1202 gemm_context, filter_matrix, input_matrix, &output_matrix, filter_offset, in FullyConnected()
1210 const Dims<4>& filter_dims, int32 filter_offset, in FullyConnected() argument
1219 op_params.weights_offset = filter_offset; in FullyConnected()
1241 const int32 filter_offset = params.weights_offset; in FullyConnected() local
1275 if (filter_offset == -128 && !(output_depth % 4) && !(accum_depth % 64)) { in FullyConnected()
[all …]
/external/libvpx/libvpx/vp8/common/arm/neon/
Dsixtappredict_neon.c70 int filter_offset, unsigned char *dst, in yonly4x4() argument
78 const uint8x8_t filter = vld1_u8(abs_filters[filter_offset]); in yonly4x4()