Home
last modified time | relevance | path

Searched refs:dilation (Results 1 – 25 of 49) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconv_grad_size_util.cc68 int64 output_size, int64 dilation, in ConvGradExtractAndVerifyDimension() argument
71 GetWindowedOutputSize(input_size, filter_size, dilation, in ConvGradExtractAndVerifyDimension()
78 " output: ", output_size, " stride: ", stride, " dilation: ", dilation); in ConvGradExtractAndVerifyDimension()
82 int64 effective_filter_size = (filter_size - 1) * dilation + 1; in ConvGradExtractAndVerifyDimension()
91 << ", pad_after = " << dim.pad_after << ", dilation = " << dilation in ConvGradExtractAndVerifyDimension()
Dconv_grad_size_util.h39 int64 output_size, int64 dilation,
/external/tensorflow/tensorflow/core/kernels/
Dconv_grad_ops.cc51 (filter_size(dim) - 1) * dilation(dim) + in SpatialPadding()
67 dim->dilation = dilations[spatial_dim]; in ConvBackpropExtractAndVerifyDimension()
70 dim->input_size, dim->filter_size, dim->dilation, dim->stride, padding, in ConvBackpropExtractAndVerifyDimension()
78 " stride: ", dim->stride, " dilation: ", dim->dilation); in ConvBackpropExtractAndVerifyDimension()
81 int64 effective_filter_size = (dim->filter_size - 1) * dim->dilation + 1; in ConvBackpropExtractAndVerifyDimension()
92 << ", dilation = " << dim->dilation << ", strides = " << dim->stride; in ConvBackpropExtractAndVerifyDimension()
Dconv_grad_ops.h223 int64 dilation;
249 int64 dilation(int dim) const { return spatial_dims[dim].dilation; }
Dconv_ops_gpu.h89 const SpatialArray& filter, const SpatialArray& dilation, in ConvParameters() argument
98 dilation_(CheckSpatialArraySize(dilation)), in ConvParameters()
109 for (int64 val : dilation) hash_code_ = Hash64Combine(hash_code_, val); in ConvParameters()
Dconv_grad_ops_3d.cc1168 dims.filter_size(2) == 1 && dims.dilation(0) == 1 && in Compute()
1169 dims.dilation(1) == 1 && dims.dilation(2) == 1 && dims.stride(0) == 1 && in Compute()
1275 conv_desc.set_dilation_rate(DimIndex::X, dims.dilation(2)) in Compute()
1276 .set_dilation_rate(DimIndex::Y, dims.dilation(1)) in Compute()
1277 .set_dilation_rate(DimIndex::Z, dims.dilation(0)) in Compute()
1347 {{dims.dilation(0), dims.dilation(1), dims.dilation(2)}}, in Compute()
1553 dims.filter_size(0) == 1 && dims.dilation(2) == 1 && in Compute()
1554 dims.dilation(1) == 1 && dims.dilation(0) == 1 && dims.stride(2) == 1 && in Compute()
1674 conv_desc.set_dilation_rate(DimIndex::X, dims.dilation(2)) in Compute()
1675 .set_dilation_rate(DimIndex::Y, dims.dilation(1)) in Compute()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Dilation2D.pbtxt31 The input stride for atrous morphological dilation. Must be:
41 summary: "Computes the grayscale dilation of 4-D `input` and 3-D `filter` tensors."
51 In detail, the grayscale morphological 2-D dilation is the max-sum correlation
64 Note on duality: The dilation of `input` by the `filter` is equal to the
Dapi_def_Dilation2DBackpropFilter.pbtxt37 1-D of length 4. The input stride for atrous morphological dilation.
47 summary: "Computes the gradient of morphological 2-D dilation with respect to the filter."
Dapi_def_Dilation2DBackpropInput.pbtxt37 1-D of length 4. The input stride for atrous morphological dilation.
47 summary: "Computes the gradient of morphological 2-D dilation with respect to the input."
Dapi_def_Conv3DBackpropFilterV2.pbtxt51 1-D tensor of length 5. The dilation factor for each dimension of
Dapi_def_Conv3DBackpropInputV2.pbtxt51 1-D tensor of length 5. The dilation factor for each dimension of
Dapi_def_Conv3D.pbtxt42 1-D tensor of length 5. The dilation factor for each dimension of
Dapi_def_DepthwiseConv2dNativeBackpropInput.pbtxt62 1-D tensor of length 4. The dilation factor for each dimension of
Dapi_def_DepthwiseConv2dNativeBackpropFilter.pbtxt62 1-D tensor of length 4. The dilation factor for each dimension of
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils.py90 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument
106 dilated_filter_size = filter_size + (filter_size - 1) * (dilation - 1)
141 output_padding=None, stride=0, dilation=1): argument
161 filter_size = filter_size + (filter_size - 1) * (dilation - 1)
Dconv_utils_test.py152 4, 2, 'same', output_padding=1, stride=1, dilation=2))
156 4, 2, 'valid', output_padding=2, stride=2, dilation=3))
160 4, 2, 'full', output_padding=2, stride=2, dilation=3))
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_version.md19 to add dilation parameters to the convolution operation.
21 Knowledge of dilation is not required to understand this document. Note that:
25 * Old convolution kernels that don't support dilation are equivalent to
26 setting the dilation factors to 1.
126 reads an old model file where dilation factors are missing, it will use 1 as
161 * Populate version=1 when dilation factors are all 1.
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/
Dfused_conv_ops_gpu.h33 const SpatialArray& filter, const SpatialArray& dilation, in FusedConvParameters() argument
38 dilation, stride, padding, dtype, device_id), in FusedConvParameters()
/external/tensorflow/tensorflow/compiler/xla/
Dwindow_util.cc215 int64 DilatedBound(int64 bound, int64 dilation) { in DilatedBound() argument
217 CHECK_GE(dilation, 1); in DilatedBound()
226 return (bound - 1) * dilation + 1; in DilatedBound()
Dwindow_util.h78 int64 DilatedBound(int64 bound, int64 dilation);
/external/tensorflow/tensorflow/python/layers/
Dutils.py107 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument
123 dilated_filter_size = filter_size + (filter_size - 1) * (dilation - 1)
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp690 int dilation = distSq < 1.5 * 1.5 ? 1 : in calculate_distance_field_data() local
693 if (dilation > SK_DistanceFieldPad) { in calculate_distance_field_data()
694 dilation = SK_DistanceFieldPad; in calculate_distance_field_data()
698 if (dilation != SK_DistanceFieldPad && !segment.fBoundingBox.roundOut() in calculate_distance_field_data()
699 .makeOutset(dilation, dilation).contains(col, row)) { in calculate_distance_field_data()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp690 int dilation = distSq < 1.5 * 1.5 ? 1 : in calculate_distance_field_data() local
693 if (dilation > SK_DistanceFieldPad) { in calculate_distance_field_data()
694 dilation = SK_DistanceFieldPad; in calculate_distance_field_data()
698 if (dilation != SK_DistanceFieldPad && !segment.fBoundingBox.roundOut() in calculate_distance_field_data()
699 .makeOutset(dilation, dilation).contains(col, row)) { in calculate_distance_field_data()
/external/tensorflow/tensorflow/python/kernel_tests/
Dconv_ops_3d_test.py123 stride, dilation, padding, data_format, argument
146 full_dilation = [1, 1] + dilation
149 full_dilation = [1] + dilation + [1]
155 dilation_rate=dilation,
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dcore_layers.py225 dilation=self.dilation_rate[i])
238 dilation=self.dilation_rate[i])

12