/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | fully_connected.h | 57 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()
|
D | depthwise_conv.h | 84 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()
|
D | conv.h | 97 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/ |
D | depthwise_conv.h | 128 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()
|
D | depthwise_conv_3x3.h | 128 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()
|
D | depthwise_conv_3x3_stride_h2.h | 121 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/ |
D | fully_connected.h | 98 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()
|
D | depthwiseconv_uint8.h | 172 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()
|
D | conv.h | 180 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/ |
D | depthwiseconv_per_channel_quantized_16x8_test.cc | 86 int32 filter_val = filter_data[Offset( in PickOutputMultiplier() local 88 acc += static_cast<int64_t>(filter_val) * in PickOutputMultiplier()
|
D | conv_per_channel_quantized_16x8_test.cc | 86 int32 filter_val = in PickOutputMultiplier() local 89 acc += static_cast<std::int64_t>(filter_val) * in PickOutputMultiplier()
|
D | depthwiseconv_per_channel_quantized_test.cc | 88 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/ |
D | depthwiseconv_float.h | 241 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;
|
D | depthwiseconv_uint8.h | 869 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;
|
D | depthwiseconv_uint8_transitional.h | 2606 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;
|
D | legacy_optimized_ops.h | 932 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/ |
D | conv_ops_test.py | 2559 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/ |
D | depthwise_conv.h | 993 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;
|