/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 47 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 54 op_params.padding_values.width = pad_width; in DepthwiseConv() 72 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 78 bias_dims, stride_width, stride_height, 1, 1, pad_width, in DepthwiseConv() 88 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 94 bias_dims, stride_width, stride_height, pad_width, pad_height, in DepthwiseConv() 104 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 107 bias_dims, stride, stride, pad_width, pad_height, in DepthwiseConv() 117 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 125 op_params.padding_values.width = pad_width; in DepthwiseConv() [all …]
|
D | conv.h | 35 const int pad_width = params.padding_values.width; in Conv() local 61 const int in_x_origin = (out_x * stride_width) - pad_width; in Conv() 114 const int pad_width = params.padding_values.width; in Conv() local 144 const int in_x_origin = (out_x * stride_width) - pad_width; in Conv() 201 const int pad_width = params.padding_values.width; in HybridConvPerChannel() local 224 const int in_x_origin = (out_x * stride_width) - pad_width; in HybridConvPerChannel()
|
D | transpose_conv.h | 33 const int pad_width = params.padding_values.width; in TransposeConv() local 72 const int out_x_origin = (in_x * stride_width) - pad_width; in TransposeConv() 123 const int pad_width = params.padding_values.width; in TransposeConv() local 163 const int out_x_origin = (in_x * stride_width) - pad_width; in TransposeConv()
|
D | depthwiseconv_uint8.h | 102 const int pad_width = params.padding_values.width; in Run() local 135 const int in_x_origin = (out_x * stride_width) - pad_width; in Run() 188 const int pad_width = params.padding_values.width; in RunPerChannel() local 222 const int in_x_origin = (out_x * stride_width) - pad_width; in RunPerChannel()
|
D | depthwiseconv_float.h | 35 const int pad_width = params.padding_values.width; in DepthwiseConv() local 62 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConv()
|
D | conv3d.h | 50 const int pad_width = params.padding_values.width; in Conv3D() local 60 const int in_x_origin = (out_x * params.stride_width) - pad_width; in Conv3D()
|
/external/tensorflow/tensorflow/core/kernels/neon/ |
D | depthwiseconv_float.h | 427 const float* input_data, int pad_width, 457 out_x_loop_start_unclamped = (pad_width - filter_x + 1) / 2; 458 out_x_loop_end_unclamped = (pad_width + input_width - filter_x + 1) / 2; 460 out_x_loop_start_unclamped = (pad_width - filter_x + 3) / 4; 461 out_x_loop_end_unclamped = (pad_width + input_width - filter_x + 3) / 4; 464 (pad_width - filter_x + stride - 1) / stride; 466 (pad_width + input_width - filter_x + stride - 1) / stride; 469 out_x_loop_start_unclamped = pad_width - filter_x; 470 out_x_loop_end_unclamped = pad_width + input_width - filter_x; 481 const int in_x_origin = (out_x_loop_start * stride) - pad_width + filter_x; [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_per_channel_quantized_test.cc | 50 const int pad_width = params.padding_values.width; in PickOutputMultiplier() local 73 const int in_x_origin = (out_x * stride_width) - pad_width; in PickOutputMultiplier() 193 RuntimeShape* output_shape_inference, int* pad_width, int* pad_height, in GenerateValidShapeConfigurations() argument 214 output_shape_inference, pad_width, pad_height)); in GenerateValidShapeConfigurations() 221 dilation_width_factor, dilation_height_factor, *pad_width, *pad_height, in GenerateValidShapeConfigurations() 242 int pad_width, pad_height; in TryTestOneDepthwiseConv3x3Filter() local 253 &output_shape_inference, &pad_width, &pad_height, &stride); in TryTestOneDepthwiseConv3x3Filter() 275 params.padding_values.width = pad_width; in TryTestOneDepthwiseConv3x3Filter() 305 dilation_width_factor, dilation_height_factor, pad_width, pad_height, in TryTestOneDepthwiseConv3x3Filter()
|
D | depthwiseconv_per_channel_quantized_16x8_test.cc | 49 const int pad_width = params.padding_values.width; in PickOutputMultiplier() local 71 const int in_x_origin = (out_x * stride_width) - pad_width; in PickOutputMultiplier() 145 RuntimeShape* output_shape_inference, int* pad_width, int* pad_height, in GenerateValidShapeConfigurations() argument 166 output_shape_inference, pad_width, pad_height)); in GenerateValidShapeConfigurations() 197 int pad_width, pad_height; in TryTestOneDepthwiseConv3x3Filter() local 208 &output_shape_inference, &pad_width, &pad_height, &stride); in TryTestOneDepthwiseConv3x3Filter() 232 params.padding_values.width = pad_width; in TryTestOneDepthwiseConv3x3Filter()
|
D | conv_per_channel_quantized_16x8_test.cc | 49 const int pad_width = params.padding_values.width; in PickOutputMultiplier() local 70 const int in_x_origin = (out_x * stride_width) - pad_width; in PickOutputMultiplier() 146 int* pad_width, int* pad_height, int* stride) { in GenerateValidShapeConfigurations() argument 166 output_shape_inference, pad_width, pad_height)); in GenerateValidShapeConfigurations() 198 int pad_width, pad_height; in TryTestOneConvFilter() local 208 &filter_shape_inference, &output_shape_inference, &pad_width, in TryTestOneConvFilter() 239 params.padding_values.width = pad_width; in TryTestOneConvFilter()
|
D | depthwiseconv_float_test.cc | 106 int pad_width, pad_height; in TryTestOneDepthwiseConv() local 112 &output_shape_inference, &pad_width, &pad_height)) { in TryTestOneDepthwiseConv() 132 op_params.padding_values.width = pad_width; in TryTestOneDepthwiseConv()
|
D | depthwiseconv_quantized_test.cc | 174 const int pad_width = params.padding_values.width; in DispatchDepthwiseConvImpl() local 185 dilation_width_factor, dilation_height_factor, pad_width, in DispatchDepthwiseConvImpl() 380 const int pad_width = params.padding_values.width; in DispatchDepthwiseConvImpl() local 391 dilation_width_factor, dilation_height_factor, pad_width, in DispatchDepthwiseConvImpl() 619 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConvWithGivenOutputShift() argument 633 op_params.padding_values.width = pad_width; in TestOneDepthwiseConvWithGivenOutputShift() 756 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConvBisectOutputShift() argument 771 padding_type, pad_width, pad_height, depth_multiplier, output_offset, in TestOneDepthwiseConvBisectOutputShift() 799 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift() 815 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConv() argument [all …]
|
D | test_util.cc | 27 int* pad_width, int* pad_height) { in ComputeConvSizes() argument 59 *pad_width = std::max( in ComputeConvSizes()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | string_ngrams_op.cc | 51 int pad_width = get_pad_width(ngram_width); in get_num_ngrams() local 52 return std::max(0, ((length + 2 * pad_width) - ngram_width) + 1); in get_num_ngrams() 148 int pad_width = get_pad_width(ngram_width); in CreateNgrams() local 149 int left_padding = std::max(0, pad_width - ngram_index); in CreateNgrams() 151 std::max(0, pad_width - (num_ngrams - (ngram_index + 1))); in CreateNgrams() 153 int data_start_index = left_padding > 0 ? 0 : ngram_index - pad_width; in CreateNgrams()
|
D | depthwise_conv_op_gpu.h | 102 const int pad_width = args.pad_cols; 120 const int input_col_start = out_col * stride - pad_width; 210 const int pad_width = args.pad_cols; 229 const int pad_offset = pad_height * tile_width + pad_width; 349 const int pad_width = args.pad_cols; 407 const int input_col_start = out_col * stride - pad_width; 501 const int pad_width = args.pad_cols; 521 const int pad_offset = pad_height * tile_width + pad_width; 822 const int pad_width = args.pad_cols; 841 tf_max(0, (in_col - filter_width + pad_width + stride) / stride); [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | im2col_utils.h | 30 int pad_width, int pad_height, in ExtractPatchIntoBufferColumn() argument 44 const int iw_ungated_start = w * stride_width - pad_width; in ExtractPatchIntoBufferColumn() 126 const int pad_width = params.padding_values.width; in DilatedIm2col() local 166 const int in_x_origin = (out_x * stride_width) - pad_width; in DilatedIm2col() 219 const int pad_width = params.padding_values.width; in Im2col() local 239 pad_width, pad_height, input_width, input_height, input_depth, in Im2col() 255 const int pad_width = params.padding_values.width; in Im2col() local 277 pad_width, pad_height, input_width, input_height, input_depth, in Im2col()
|
D | depthwiseconv_float.h | 766 const float* input_data, int pad_width, 795 (pad_width - dilation_factor * filter_x + 1) / 2; 797 (pad_width + input_width - dilation_factor * filter_x + 1) / 2; 800 (pad_width - dilation_factor * filter_x + 3) / 4; 802 (pad_width + input_width - dilation_factor * filter_x + 3) / 4; 805 (pad_width - dilation_factor * filter_x + stride - 1) / stride; 806 out_x_loop_end_unclamped = (pad_width + input_width - 811 out_x_loop_start_unclamped = pad_width - dilation_factor * filter_x; 813 pad_width + input_width - dilation_factor * filter_x; 825 (out_x_loop_start * stride) - pad_width + dilation_factor * filter_x; [all …]
|
D | multithreaded_conv.h | 91 int stride_cols, int pad_width, int pad_height, in operator() 109 pad_width == 0 && pad_height == 0) { in operator() 152 const int pad_width = params.padding_values.width; in Conv() local 172 output_depth, stride_height, stride_width, pad_height, pad_width, in Conv()
|
D | legacy_optimized_ops.h | 143 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 150 op_params.padding_values.width = pad_width; in DepthwiseConv() 173 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 179 bias_dims, stride_width, stride_height, 1, 1, pad_width, in DepthwiseConv() 189 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 195 bias_dims, stride_width, stride_height, pad_width, pad_height, in DepthwiseConv() 205 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 208 bias_dims, stride, stride, pad_width, pad_height, in DepthwiseConv() 241 const int pad_width = params.padding_values.width; in LegacyDepthwiseConvWithRounding() local 249 dilation_width_factor, dilation_height_factor, pad_width, pad_height, in LegacyDepthwiseConvWithRounding() [all …]
|
D | depthwiseconv_3x3_filter_common.h | 442 int32 dilation_height_factor, int32 pad_width, int32 pad_height, 457 (stride_width == stride_height) && (pad_width == 0 || pad_width == 1) && 458 (pad_height == 0 || pad_height == 1) && (pad_width == pad_height) && 472 const int32 in_x_origin = (out_x * stride_width) - pad_width; 480 if (pad_width == 0 && pad_height == 0) {
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_StringNGrams.pbtxt | 44 pad_width != 0. 51 pad_width != 0. 55 name: "pad_width" 59 regardless of this value. If `pad_width=-1`, then add `max(ngram_widths)-1`
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | depthwise_conv.h | 35 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel() local 67 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel() 134 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel() local 164 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvPerChannel() 219 const int pad_width = params.padding_values.width; in DepthwiseConvHybridPerChannel() local 248 const int in_x_origin = (out_x * stride_width) - pad_width; in DepthwiseConvHybridPerChannel()
|
D | conv.h | 37 const int pad_width = params.padding_values.width; in ConvPerChannel() local 68 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel() 141 const int pad_width = params.padding_values.width; in ConvPerChannel() local 171 const int in_x_origin = (out_x * stride_width) - pad_width; in ConvPerChannel()
|
D | transpose_conv.h | 34 const int pad_width = params.padding_values.width; in TransposeConv() local 71 const int out_x_origin = (in_x * stride_width) - pad_width; in TransposeConv() 133 const int pad_width = params.padding_values.width; in TransposeConv() local 168 const int out_x_origin = (in_x * stride_width) - pad_width; in TransposeConv()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | depthwise_conv.h | 1427 int pad_width, int depth_multiplier, 1456 (pad_width - dilation_factor * filter_x + 1) / 2; 1458 (pad_width + input_width - dilation_factor * filter_x + 1) / 2; 1461 (pad_width - dilation_factor * filter_x + 3) / 4; 1463 (pad_width + input_width - dilation_factor * filter_x + 3) / 4; 1466 (pad_width - dilation_factor * filter_x + stride - 1) / stride; 1467 out_x_loop_end_unclamped = (pad_width + input_width - 1472 out_x_loop_start_unclamped = pad_width - dilation_factor * filter_x; 1474 pad_width + input_width - dilation_factor * filter_x; 1486 (out_x_loop_start * stride) - pad_width + dilation_factor * filter_x; [all …]
|