/external/tensorflow/tensorflow/core/kernels/neon/ |
D | depthwiseconv_float.h | 427 const float* input_data, int pad_width, 457 out_x_loop_start_unclampled = (pad_width - filter_x + 1) / 2; 459 (pad_width + input_width - filter_x + 1) / 2; 461 out_x_loop_start_unclampled = (pad_width - filter_x + 3) / 4; 463 (pad_width + input_width - filter_x + 3) / 4; 466 (pad_width - filter_x + stride - 1) / stride; 468 (pad_width + input_width - filter_x + stride - 1) / stride; 471 out_x_loop_start_unclampled = pad_width - filter_x; 472 out_x_loop_end_unclampled = pad_width + input_width - filter_x; 483 const int in_x_origin = (out_x_loop_start * stride) - pad_width + filter_x; [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | string_ngrams_op.cc | 50 int pad_width = get_pad_width(ngram_width); in get_num_ngrams() local 51 return std::max(0, ((length + 2 * pad_width) - ngram_width) + 1); in get_num_ngrams() 135 int pad_width = get_pad_width(ngram_width); in CreateNgrams() local 136 int left_padding = std::max(0, pad_width - ngram_index); in CreateNgrams() 138 std::max(0, pad_width - (num_ngrams - (ngram_index + 1))); in CreateNgrams() 140 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/reference/ |
D | legacy_reference_ops.h | 46 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 53 op_params.padding_values.width = pad_width; in DepthwiseConv() 71 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 77 bias_dims, stride_width, stride_height, 1, 1, pad_width, in DepthwiseConv() 87 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 93 bias_dims, stride_width, stride_height, pad_width, pad_height, in DepthwiseConv() 103 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 106 bias_dims, stride, stride, pad_width, pad_height, in DepthwiseConv() 116 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 124 op_params.padding_values.width = pad_width; in DepthwiseConv() [all …]
|
D | conv.h | 38 const int pad_width = params.padding_values.width; in Conv() local 64 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() 198 const int pad_width = params.padding_values.width; in HybridConvPerChannel() local 221 const int in_x_origin = (out_x * stride_width) - pad_width; in HybridConvPerChannel()
|
D | depthwiseconv_uint8.h | 103 const int pad_width = params.padding_values.width; in Run() local 136 const int in_x_origin = (out_x * stride_width) - pad_width; in Run() 189 const int pad_width = params.padding_values.width; in RunPerChannel() local 223 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()
|
/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() 194 RuntimeShape* output_shape_inference, int* pad_width, int* pad_height, in GenerateValidShapeConfigurations() argument 215 output_shape_inference, pad_width, pad_height)); in GenerateValidShapeConfigurations() 222 dilation_width_factor, dilation_height_factor, *pad_width, *pad_height, in GenerateValidShapeConfigurations() 243 int pad_width, pad_height; in TryTestOneDepthwiseConv3x3Filter() local 254 &output_shape_inference, &pad_width, &pad_height, &stride); in TryTestOneDepthwiseConv3x3Filter() 276 params.padding_values.width = pad_width; in TryTestOneDepthwiseConv3x3Filter() 306 dilation_width_factor, dilation_height_factor, pad_width, pad_height, in TryTestOneDepthwiseConv3x3Filter()
|
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() 580 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConvWithGivenOutputShift() argument 594 op_params.padding_values.width = pad_width; in TestOneDepthwiseConvWithGivenOutputShift() 717 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConvBisectOutputShift() argument 732 padding_type, pad_width, pad_height, depth_multiplier, output_offset, in TestOneDepthwiseConvBisectOutputShift() 760 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift() 776 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/lite/kernels/internal/optimized/ |
D | im2col_utils.h | 28 int pad_width, int pad_height, in ExtractPatchIntoBufferColumn() argument 42 const int iw_ungated_start = w * stride_width - pad_width; in ExtractPatchIntoBufferColumn() 123 const int pad_width = params.padding_values.width; in DilatedIm2col() local 161 const int in_x_origin = (out_x * stride_width) - pad_width; in DilatedIm2col() 204 const int pad_width = params.padding_values.width; in Im2col() local 224 pad_width, pad_height, input_width, input_height, input_depth, in Im2col() 240 const int pad_width = params.padding_values.width; in Im2col() local 262 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_unclampled = (pad_width + input_width - 811 out_x_loop_start_unclampled = 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 | 144 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 151 op_params.padding_values.width = pad_width; in DepthwiseConv() 174 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 180 bias_dims, stride_width, stride_height, 1, 1, pad_width, in DepthwiseConv() 190 int stride_width, int stride_height, int pad_width, in DepthwiseConv() argument 196 bias_dims, stride_width, stride_height, pad_width, pad_height, in DepthwiseConv() 206 int pad_width, int pad_height, int depth_multiplier, in DepthwiseConv() argument 209 bias_dims, stride, stride, pad_width, pad_height, in DepthwiseConv() 242 const int pad_width = params.padding_values.width; in LegacyDepthwiseConvWithRounding() local 250 dilation_width_factor, dilation_height_factor, pad_width, pad_height, in LegacyDepthwiseConvWithRounding() [all …]
|
D | depthwiseconv_3x3_filter_common.h | 446 int32 dilation_height_factor, int32 pad_width, int32 pad_height, 462 (stride_width == stride_height) && (pad_width == 0 || pad_width == 1) && 463 (pad_height == 0 || pad_height == 1) && (pad_width == pad_height) && 485 const int32 in_x_origin = (out_x * stride_width) - pad_width; 493 if (pad_width == 0 && pad_height == 0) {
|
D | depthwiseconv_uint8.h | 1475 int pad_width, int depth_multiplier, 1504 (pad_width - dilation_factor * filter_x + 1) / 2; 1506 (pad_width + input_width - dilation_factor * filter_x + 1) / 2; 1509 (pad_width - dilation_factor * filter_x + 3) / 4; 1511 (pad_width + input_width - dilation_factor * filter_x + 3) / 4; 1514 (pad_width - dilation_factor * filter_x + stride - 1) / stride; 1515 out_x_loop_end_unclampled = (pad_width + input_width - 1520 out_x_loop_start_unclampled = pad_width - dilation_factor * filter_x; 1522 pad_width + input_width - dilation_factor * filter_x; 1534 (out_x_loop_start * stride) - pad_width + dilation_factor * filter_x; [all …]
|
/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() 133 const int pad_width = params.padding_values.width; in DepthwiseConvHybridPerChannel() local 162 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()
|
D | transpose_conv.h | 33 const int pad_width = params.padding_values.width; in TransposeConv() local 67 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 | 1419 int pad_width, int depth_multiplier, 1448 (pad_width - dilation_factor * filter_x + 1) / 2; 1450 (pad_width + input_width - dilation_factor * filter_x + 1) / 2; 1453 (pad_width - dilation_factor * filter_x + 3) / 4; 1455 (pad_width + input_width - dilation_factor * filter_x + 3) / 4; 1458 (pad_width - dilation_factor * filter_x + stride - 1) / stride; 1459 out_x_loop_end_unclampled = (pad_width + input_width - 1464 out_x_loop_start_unclampled = pad_width - dilation_factor * filter_x; 1466 pad_width + input_width - dilation_factor * filter_x; 1478 (out_x_loop_start * stride) - pad_width + dilation_factor * filter_x; [all …]
|
D | depthwise_conv_hybrid.h | 51 const int pad_width = params.padding_values.width; in DepthwiseConvHybridGeneral() local 199 -input_offset, pad_width, depth_multiplier, filter_width, in DepthwiseConvHybridGeneral() 287 const int pad_width = params.padding_values.width; in DepthwiseConvHybridWithRounding() local 295 dilation_width_factor, dilation_height_factor, pad_width, pad_height, in DepthwiseConvHybridWithRounding()
|
D | depthwise_conv_hybrid_3x3_filter.h | 3056 const int32 pad_width = rt_params.padding_values.width; 3090 TFLITE_DCHECK(pad_width == 0 || pad_width == 1); 3091 TFLITE_DCHECK(pad_width == pad_height); 3155 if (pad_width == 1 && pad_height == 1) { 3169 const int in_x = (out_x * stride_width) - pad_width;
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | StringNGrams.pbtxt | 37 name: "pad_width"
|