Home
last modified time | relevance | path

Searched refs:window_dim (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_convolution_rewriter_test.cc40 WindowDimension* window_dim = default_conv_window_.add_dimensions(); in CudnnConvolutionRewriterTest() local
41 window_dim->set_size(1); in CudnnConvolutionRewriterTest()
42 window_dim->set_stride(1); in CudnnConvolutionRewriterTest()
43 window_dim->set_padding_low(0); in CudnnConvolutionRewriterTest()
44 window_dim->set_padding_high(0); in CudnnConvolutionRewriterTest()
45 window_dim->set_window_dilation(1); in CudnnConvolutionRewriterTest()
46 window_dim->set_base_dilation(1); in CudnnConvolutionRewriterTest()
291 const WindowDimension& window_dim = custom_call->window().dimensions(i); in TEST_F() local
294 EXPECT_EQ(3, window_dim.padding_low()); in TEST_F()
295 EXPECT_EQ(3, window_dim.padding_high()); in TEST_F()
[all …]
Dcudnn_convolution_rewriter.cc91 for (const WindowDimension& window_dim : conv->window().dimensions()) { in MatchBackwardFilter() local
92 if (window_dim.stride() != 1) { in MatchBackwardFilter()
98 if (window_dim.base_dilation() != 1) { in MatchBackwardFilter()
104 if (window_dim.padding_low() < 0) { in MatchBackwardFilter()
108 if (window_dim.window_reversal()) { in MatchBackwardFilter()
255 for (const WindowDimension& window_dim : conv->window().dimensions()) { in MatchBackwardInput() local
256 if (window_dim.stride() != 1) { in MatchBackwardInput()
262 if (window_dim.window_dilation() != 1) { in MatchBackwardInput()
268 if (window_dim.window_reversal()) { in MatchBackwardInput()
Dpad_insertion.cc191 void IncreasePaddingLowBy(int64 delta, WindowDimension* window_dim) { in IncreasePaddingLowBy() argument
192 window_dim->set_padding_low(window_dim->padding_low() + delta); in IncreasePaddingLowBy()
195 void IncreasePaddingHighBy(int64 delta, WindowDimension* window_dim) { in IncreasePaddingHighBy() argument
196 window_dim->set_padding_high(window_dim->padding_high() + delta); in IncreasePaddingHighBy()
/external/tensorflow/tensorflow/compiler/xla/
Dwindow_util.cc194 const WindowDimension& window_dim = window.dimensions(logical_dim); in IsInactiveWindowDimension() local
195 return window_dim.size() == 1 && window_dim.stride() == 1 && in IsInactiveWindowDimension()
196 window_dim.padding_low() == 0 && window_dim.padding_high() == 0; in IsInactiveWindowDimension()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc975 const auto& window_dim = window.dimensions(ki); in HandleConvolution() local
977 out_index[output_spatial_dim] * window_dim.stride() - in HandleConvolution()
978 window_dim.padding_low() + in HandleConvolution()
979 rhs_spatial_index[ki] * window_dim.window_dilation(); in HandleConvolution()
982 if (window_dim.base_dilation() > 1 && in HandleConvolution()
983 undilated_index % window_dim.base_dilation() != 0) { in HandleConvolution()
989 if (window_dim.base_dilation() > 1) { in HandleConvolution()
991 undilated_index / window_dim.base_dilation(); in HandleConvolution()
1004 window_dim.window_reversal() in HandleConvolution()
1005 ? ((window_dim.size() - 1) - rhs_spatial_index[ki]) in HandleConvolution()
Dalgebraic_simplifier.cc1812 auto& window_dim = *new_window.mutable_dimensions(i); in HandleReduceWindow() local
1813 window_dim.set_padding_low(window_dim.padding_low() + in HandleReduceWindow()
1815 window_dim.set_padding_high(window_dim.padding_high() + in HandleReduceWindow()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc1045 const WindowDimension& window_dim) { in HandleConvolution() argument
1047 output_index, ir_builder_.getInt64(window_dim.stride())); in HandleConvolution()
1050 ir_builder_.getInt64(window_dim.window_dilation())); in HandleConvolution()
1053 ir_builder_.getInt64(window_dim.padding_low())); in HandleConvolution()