Home
last modified time | relevance | path

Searched refs:filter_val (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dfully_connected.h57 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnectedPerChannel() local
58 acc += filter_val * (input_val + input_offset); in FullyConnectedPerChannel()
98 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnectedPerChannel() local
99 acc += filter_val * input_val; in FullyConnectedPerChannel()
141 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() local
142 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
183 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() local
184 acc += (filter_val + filter_offset) * input_val; in FullyConnected()
Ddepthwise_conv.h84 int32_t filter_val = filter_data[Offset( in DepthwiseConvPerChannel() local
102 acc += filter_val * (input_val + input_offset); in DepthwiseConvPerChannel()
181 int32_t filter_val = filter_data[Offset( in DepthwiseConvPerChannel() local
187 acc += static_cast<int64_t>(filter_val) * in DepthwiseConvPerChannel()
265 int32_t filter_val = filter_data[Offset( in DepthwiseConvHybridPerChannel() local
267 acc += filter_val * (input_val - input_offset[batch]); in DepthwiseConvHybridPerChannel()
Dconv.h97 int32_t filter_val = filter_data[Offset( in ConvPerChannel() local
115 acc += filter_val * (input_val + input_offset); in ConvPerChannel()
208 int32_t filter_val = filter_data[Offset( in ConvPerChannel() local
216 acc += filter_val * input_val; in ConvPerChannel()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv.h128 T filter_val; in RearrangeWeightsForDWConv2D() local
134 filter_val[i] = weights.data[f_index]; in RearrangeWeightsForDWConv2D()
136 filter_val[i] = 0.0f; in RearrangeWeightsForDWConv2D()
139 dst[counter++] = filter_val; in RearrangeWeightsForDWConv2D()
198 T filter_val; in RearrangeWeightsForDWConv3D() local
204 filter_val[i] = weights.data[f_index]; in RearrangeWeightsForDWConv3D()
206 filter_val[i] = 0.0f; in RearrangeWeightsForDWConv3D()
209 dst[counter++] = filter_val; in RearrangeWeightsForDWConv3D()
Ddepthwise_conv_3x3.h128 T filter_val; in RearrangeWeightsAndBiasesData() local
133 filter_val[i] = weights.data[f_index]; in RearrangeWeightsAndBiasesData()
135 filter_val[i] = 0.0f; in RearrangeWeightsAndBiasesData()
138 dst[counter++] = filter_val; in RearrangeWeightsAndBiasesData()
Ddepthwise_conv_3x3_stride_h2.h121 T filter_val; in RearrangeWeightsAndBiasesData() local
126 filter_val[i] = weights.data[f_index]; in RearrangeWeightsAndBiasesData()
128 filter_val[i] = 0.0f; in RearrangeWeightsAndBiasesData()
131 dst[counter++] = filter_val; in RearrangeWeightsAndBiasesData()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dfully_connected.h98 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() local
99 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
148 int16_t filter_val = in FullyConnected() local
150 accum += filter_val * input_val; in FullyConnected()
Ddepthwiseconv_uint8.h172 int32_t filter_val = filter_data[Offset( in Run() local
174 acc += (filter_val + filter_offset) * in Run()
260 int32_t filter_val = filter_data[Offset( in RunPerChannel() local
277 acc += filter_val * (input_val + input_offset); in RunPerChannel()
Dconv.h180 int32_t filter_val = filter_data[Offset( in Conv() local
183 (filter_val + filter_offset) * (input_val + input_offset); in Conv()
262 int32_t filter_val = in HybridConvPerChannel() local
265 acc += filter_val * (input_val - input_offset[batch]); in HybridConvPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_per_channel_quantized_16x8_test.cc86 int32 filter_val = filter_data[Offset( in PickOutputMultiplier() local
88 acc += static_cast<int64_t>(filter_val) * in PickOutputMultiplier()
Dconv_per_channel_quantized_16x8_test.cc86 int32 filter_val = in PickOutputMultiplier() local
89 acc += static_cast<std::int64_t>(filter_val) * in PickOutputMultiplier()
Ddepthwiseconv_per_channel_quantized_test.cc88 int32 filter_val = filter_data[Offset( in PickOutputMultiplier() local
90 acc += filter_val * (input_val + input_offset); in PickOutputMultiplier()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_float.h241 const float filter_val = *local_filter_ptr++;
242 *acc_buffer_ptr++ += filter_val * input_val;
870 const float filter_val = *filter_ptr++;
871 *acc_buffer_ptr++ += filter_val * input_val;
Ddepthwiseconv_uint8.h869 const int16 filter_val = local_filter_ptr[i] + filter_offset;
870 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
934 const int16 filter_val = local_filter_ptr[i] + filter_offset;
935 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1059 const int16 filter_val = *local_filter_ptr++ + filter_offset;
1060 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1619 const int16 filter_val = *filter_ptr++ + filter_offset;
1620 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
Ddepthwiseconv_uint8_transitional.h2606 int32 filter_val = filter_bank[y][sub_block][d][x];
2607 acc += filter_val * input_val;
2770 int32 filter_val = filter_bank[y][sub_block][d][x];
2771 acc += filter_val * input_val;
2987 int32 filter_val = filter_bank_a_0[d][x];
2988 acc += filter_val * input_val;
2992 int32 filter_val = filter_bank_a_1[d][x];
2993 acc += filter_val * input_val;
2997 int32 filter_val = filter_bank_a_2[d][x];
2998 acc += filter_val * input_val;
Dlegacy_optimized_ops.h932 int32 filter_val = in LegacyFullyConnectedAsGEMVWorkerImpl() local
934 buf[lane + 4 * k] += filter_val * input_val; in LegacyFullyConnectedAsGEMVWorkerImpl()
1943 int32 filter_val = in LegacyInt8FullyConnectedAsGEMVWorkerImpl() local
1945 buf[lane + 4 * k] += filter_val * input_val; in LegacyInt8FullyConnectedAsGEMVWorkerImpl()
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dconv_ops_test.py2559 filter_val = np.ones([2, 4, 10, 10])
2562 input_val, filter_val, strides=[2, 1, 1, 1], padding="SAME"))
2566 filter_val = np.ones([2, 4, 10, 10])
2569 input_val, filter_val, strides=[1, 1, 1, 2], padding="SAME"))
2602 filter_val = np.ones([1, 0, 1, 1])
2605 input_val, filter_val, strides=[1, 1, 1, 1], padding="SAME"))
2611 filter_val = np.ones([18, 18, 3, 2])
2615 filter_val,
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Ddepthwise_conv.h993 const int16 filter_val = *local_filter_ptr++;
994 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1528 const int16 filter_val = *filter_ptr++;
1529 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;