Home
last modified time | relevance | path

Searched refs:mutable_dimensions (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_rewriter_test.cc107 conv_window.mutable_dimensions(1)->set_size(2); in TEST_F()
108 conv_window.mutable_dimensions(1)->set_window_dilation(2); in TEST_F()
148 conv_window.mutable_dimensions(1)->set_size(3); in TEST_F()
180 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
181 conv_window.mutable_dimensions(i)->set_padding_low(1); in TEST_F()
182 conv_window.mutable_dimensions(i)->set_padding_high(1); in TEST_F()
210 conv_window.mutable_dimensions(i)->set_size(4); in TEST_F()
211 conv_window.mutable_dimensions(i)->set_padding_high(-1); in TEST_F()
212 conv_window.mutable_dimensions(i)->set_window_dilation(2); in TEST_F()
239 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
[all …]
Dcudnn_conv_padding_legalization.cc67 padding_config.mutable_dimensions(dim)->set_edge_padding_low( in MaybePaddedAndSlicedInput()
69 conv_window->mutable_dimensions(i)->set_padding_low(0); in MaybePaddedAndSlicedInput()
72 padding_config.mutable_dimensions(dim)->set_edge_padding_high( in MaybePaddedAndSlicedInput()
74 conv_window->mutable_dimensions(i)->set_padding_high(0); in MaybePaddedAndSlicedInput()
77 padding_config.mutable_dimensions(dim)->set_interior_padding( in MaybePaddedAndSlicedInput()
79 conv_window->mutable_dimensions(i)->set_base_dilation(1); in MaybePaddedAndSlicedInput()
104 conv_window->mutable_dimensions(i)->set_padding_low(0); in MaybePaddedAndSlicedInput()
108 conv_window->mutable_dimensions(i)->set_padding_high(0); in MaybePaddedAndSlicedInput()
137 padding_config.mutable_dimensions(dim)->set_interior_padding( in MaybePaddedKernel()
168 WindowDimension* dim = new_conv_window.mutable_dimensions(i); in CanonicalizeForwardConvolution()
[all …]
Dcudnn_conv_pad_for_tensor_cores.cc61 pad_config.mutable_dimensions(dim)->set_edge_padding_high( in PadInstruction()
Dcudnn_conv_rewriter.cc342 auto dim = new_window.mutable_dimensions(i); in MatchBackwardInput()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dpad_test.cc329 padding_config.mutable_dimensions(dim)->set_edge_padding_low( in XLA_TEST_P()
331 padding_config.mutable_dimensions(dim)->set_edge_padding_high(58 + in XLA_TEST_P()
350 padding_config.mutable_dimensions(0)->set_edge_padding_low(7); in XLA_TEST_P()
351 padding_config.mutable_dimensions(0)->set_edge_padding_high(5); in XLA_TEST_P()
352 padding_config.mutable_dimensions(0)->set_interior_padding(3); in XLA_TEST_P()
353 padding_config.mutable_dimensions(1)->set_edge_padding_low(6); in XLA_TEST_P()
354 padding_config.mutable_dimensions(1)->set_edge_padding_high(4); in XLA_TEST_P()
355 padding_config.mutable_dimensions(1)->set_interior_padding(2); in XLA_TEST_P()
375 padding_config.mutable_dimensions(dim)->set_edge_padding_low(low_padding); in XLA_TEST_P()
376 padding_config.mutable_dimensions(dim)->set_edge_padding_high( in XLA_TEST_P()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dsharding_builder.cc57 (*result.mutable_tile_shape()->mutable_dimensions())[0]; in Tile1D()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dpooling.cc101 auto padding_dimension = padding_config.mutable_dimensions(dim); in MakeSpatialPaddingConfig()
261 auto* padding = padding_config.mutable_dimensions(dim); in AvgPoolGrad()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_verifier_test.cc358 w.mutable_dimensions(0)->set_window_dilation(-1); in TEST_F()
369 w.mutable_dimensions(0)->set_base_dilation(-1); in TEST_F()
Dtriangular_solve_expander.cc97 config.mutable_dimensions(ndims - 1)->set_edge_padding_high(padding); in DiagonalBlocks()
98 config.mutable_dimensions(ndims - 2)->set_edge_padding_high(padding); in DiagonalBlocks()
Dhlo_parser.cc3074 window->mutable_dimensions(i)->set_padding_low(pad[i][0]); in ParseWindow()
3075 window->mutable_dimensions(i)->set_padding_high(pad[i][1]); in ParseWindow()
3078 window->mutable_dimensions(i)->set_stride(stride.empty() ? 1 : stride[i]); in ParseWindow()
3079 window->mutable_dimensions(i)->set_base_dilation( in ParseWindow()
3081 window->mutable_dimensions(i)->set_window_dilation( in ParseWindow()
3083 window->mutable_dimensions(i)->set_window_reversal( in ParseWindow()
Dalgebraic_simplifier.cc2210 padding_config.mutable_dimensions(i)->set_interior_padding(0); in HandlePad()
2254 nonzero_padding.mutable_dimensions(i); in HandlePad()
3292 auto& window_dim = *new_window.mutable_dimensions(i); in HandleReduceWindow()
3427 auto& w = *new_window.mutable_dimensions(dim); in FoldConvInputPad()
3493 auto& w = *new_window.mutable_dimensions(dim); in FoldConvFilterPad()
Dalgebraic_simplifier_test.cc3583 padding.mutable_dimensions(1)->set_edge_padding_low(1); in TEST_F()
3584 padding.mutable_dimensions(3)->set_edge_padding_high(2); in TEST_F()
3665 padding.mutable_dimensions(1)->set_edge_padding_low(1); in TEST_F()
3666 padding.mutable_dimensions(3)->set_edge_padding_high(2); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dshape.cc61 proto.mutable_dimensions()->Reserve(dimensions_size()); in ToProto()
Dshape.h108 absl::Span<int64> mutable_dimensions() { return absl::MakeSpan(dimensions_); } in mutable_dimensions() function
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc242 tensor_.mutable_dimensions()->Resize(ndims + 2, 0); in BatchDescriptor()
384 tensor_.mutable_dimensions()->Resize(ndims + 2, 0); in FilterDescriptor()
Ddnn.h352 return AsInt64Slice(tensor_.mutable_dimensions()).subspan(2);
459 return AsInt64Slice(tensor_.mutable_dimensions()).subspan(2);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_resize_ops.cc439 padding.mutable_dimensions(1 + i)->set_edge_padding_high(in_size[i] - 1); in ResizeUsingDilationAndConvolutionGradOp()