Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv.h48 T filter_val; in RearrangeWeightsForDWConv2D() local
54 filter_val[i] = weights.data[f_index]; in RearrangeWeightsForDWConv2D()
56 filter_val[i] = 0.0f; in RearrangeWeightsForDWConv2D()
59 dst[counter++] = filter_val; in RearrangeWeightsForDWConv2D()
121 T filter_val; in RearrangeWeightsForDWConv3D() local
127 filter_val[i] = weights.data[f_index]; in RearrangeWeightsForDWConv3D()
129 filter_val[i] = 0.0f; in RearrangeWeightsForDWConv3D()
132 dst[counter++] = filter_val; in RearrangeWeightsForDWConv3D()
Ddepthwise_conv_3x3_stride_h2.h120 T filter_val; in RearrangeWeightsAndBiasesData() local
125 filter_val[i] = weights.data[f_index]; in RearrangeWeightsAndBiasesData()
127 filter_val[i] = 0.0f; in RearrangeWeightsAndBiasesData()
130 dst[counter++] = filter_val; in RearrangeWeightsAndBiasesData()
Ddepthwise_conv_3x3.h126 T filter_val; in RearrangeWeightsAndBiasesData() local
131 filter_val[i] = weights.data[f_index]; in RearrangeWeightsAndBiasesData()
133 filter_val[i] = 0.0f; in RearrangeWeightsAndBiasesData()
136 dst[counter++] = filter_val; in RearrangeWeightsAndBiasesData()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dfully_connected.h50 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() local
51 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
90 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() local
91 acc += (filter_val + filter_offset) * input_val; in FullyConnected()
Ddepthwise_conv.h82 int32_t filter_val = filter_data[Offset( in DepthwiseConvPerChannel() local
100 acc += filter_val * (input_val + input_offset); in DepthwiseConvPerChannel()
179 int32_t filter_val = filter_data[Offset( in DepthwiseConvPerChannel() local
185 acc += static_cast<int64_t>(filter_val) * in DepthwiseConvPerChannel()
263 int32_t filter_val = filter_data[Offset( in DepthwiseConvHybridPerChannel() local
265 acc += filter_val * (input_val - input_offset[batch]); in DepthwiseConvHybridPerChannel()
Dconv.h88 int32_t filter_val = filter_data[Offset( in ConvPerChannel() local
106 acc += filter_val * (input_val + input_offset); in ConvPerChannel()
191 int32_t filter_val = filter_data[Offset( in ConvPerChannel() local
199 acc += filter_val * input_val; in ConvPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddepthwiseconv_uint8.h150 int32_t filter_val = filter_data[Offset( in Run() local
152 acc += (filter_val + filter_offset) * in Run()
238 int32_t filter_val = filter_data[Offset( in RunPerChannel() local
255 acc += filter_val * (input_val + input_offset); in RunPerChannel()
Dfully_connected.h95 int32_t filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() local
96 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
145 int16_t filter_val = in FullyConnected() local
147 accum += filter_val * input_val; in FullyConnected()
Dconv.h164 int32_t filter_val = filter_data[Offset( in Conv() local
167 (filter_val + filter_offset) * (input_val + input_offset); in Conv()
239 int32_t filter_val = in HybridConvPerChannel() local
242 acc += filter_val * (input_val - input_offset[batch]); in HybridConvPerChannel()
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/
Ddepthwise_conv.cc110 int32_t filter_val = filter_data[Offset( in DepthwiseConvPerChannel() local
128 acc[offset_ch] += filter_val * (input_val + input_offset); in DepthwiseConvPerChannel()
233 int32_t filter_val = filter_data[Offset( in DepthwiseConv() local
236 (filter_val + filter_offset) * (input_val + input_offset); in DepthwiseConv()
/external/tensorflow/tensorflow/core/kernels/neon/
Ddepthwiseconv_float.h241 const float filter_val = *local_filter_ptr++;
242 *acc_buffer_ptr++ += filter_val * input_val;
527 const float filter_val = *filter_ptr++;
528 *acc_buffer_ptr++ += filter_val * input_val;
/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()
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()
Dconv_per_channel_quantized_16x8_test.cc86 int32 filter_val = in PickOutputMultiplier() local
89 acc += static_cast<std::int64_t>(filter_val) * in PickOutputMultiplier()
/external/tensorflow/tensorflow/python/kernel_tests/
Dconv_ops_test.py2534 filter_val = np.ones([10, 10])
2543 filter_placeholder: filter_val
2550 filter_val = np.ones([10, 10])
2559 filter_placeholder: filter_val
2569 filter_val = np.ones([20, 21, 3, 2])
2579 filter_placeholder: filter_val
2587 filter_val = np.ones([21, 20, 3, 2])
2596 filter_placeholder: filter_val
2606 filter_val = np.ones([24, 25, 3, 2])
2615 filter_placeholder: filter_val
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_float.h239 const float filter_val = *local_filter_ptr++;
240 *acc_buffer_ptr++ += filter_val * input_val;
868 const float filter_val = *filter_ptr++;
869 *acc_buffer_ptr++ += filter_val * input_val;
Ddepthwiseconv_uint8.h864 const int16 filter_val = local_filter_ptr[i] + filter_offset;
865 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
929 const int16 filter_val = local_filter_ptr[i] + filter_offset;
930 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1016 const int16 filter_val = *local_filter_ptr++ + filter_offset;
1017 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1576 const int16 filter_val = *filter_ptr++ + filter_offset;
1577 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
Ddepthwiseconv_uint8_transitional.h2586 int32 filter_val = filter_bank[y][sub_block][d][x];
2587 acc += filter_val * input_val;
2750 int32 filter_val = filter_bank[y][sub_block][d][x];
2751 acc += filter_val * input_val;
2967 int32 filter_val = filter_bank_a_0[d][x];
2968 acc += filter_val * input_val;
2972 int32 filter_val = filter_bank_a_1[d][x];
2973 acc += filter_val * input_val;
2977 int32 filter_val = filter_bank_a_2[d][x];
2978 acc += filter_val * input_val;
Dlegacy_optimized_ops.h931 int32 filter_val = in LegacyFullyConnectedAsGEMVWorkerImpl() local
933 buf[lane + 4 * k] += filter_val * input_val; in LegacyFullyConnectedAsGEMVWorkerImpl()
1942 int32 filter_val = in LegacyInt8FullyConnectedAsGEMVWorkerImpl() local
1944 buf[lane + 4 * k] += filter_val * input_val; in LegacyInt8FullyConnectedAsGEMVWorkerImpl()
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Ddepthwise_conv.cc139 int32_t filter_val = filter_data[filter_idx]; in DepthwiseConvPerChannel() local
152 ae_p24x2s filter_val_24x2 = AE_MOVPA24(filter_val); in DepthwiseConvPerChannel()
/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;
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md3717 …ED(%input_val, %filter, %bias_val) : (tensor<%input_val.type>, tensor<%filter_val.type>, tensor<%b…
3758 %fc = tosa.FULLY_CONNECTED(%input_val, %filter, %bias_val) : (input_type, tensor<%filter_val.type>,…