Home
last modified time | relevance | path

Searched refs:spatial_padding (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dpooling.cc30 absl::Span<const std::pair<int64, int64>> spatial_padding, in AvgPoolDivideByCountWithGeneralPadding() argument
35 const int num_spatial_dims = spatial_padding.size(); in AvgPoolDivideByCountWithGeneralPadding()
57 dims->set_edge_padding_low(spatial_padding[i].first); in AvgPoolDivideByCountWithGeneralPadding()
58 dims->set_edge_padding_high(spatial_padding[i].second); in AvgPoolDivideByCountWithGeneralPadding()
90 absl::Span<const std::pair<int64, int64>> spatial_padding, in MakeSpatialPaddingConfig() argument
103 padding_dimension->set_edge_padding_low(spatial_padding[i].first); in MakeSpatialPaddingConfig()
104 padding_dimension->set_edge_padding_high(spatial_padding[i].second); in MakeSpatialPaddingConfig()
196 absl::Span<const std::pair<int64, int64>> spatial_padding, in AvgPoolGrad() argument
237 out_backprop, gradients_size, kernel_size, stride, spatial_padding, in AvgPoolGrad()
252 (spatial_padding[i].first + spatial_padding[i].second); in AvgPoolGrad()
[all …]
Dpooling.h74 absl::Span<const std::pair<int64, int64>> spatial_padding,
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dpooling_ops.cc239 auto spatial_padding = MakeSpatialPadding( in Compile() local
246 xla::AvgPool(converted_input, ksize, stride, spatial_padding, in Compile()