Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dconvolution_4d_expander.cc102 Shape new_input_shape = input->shape(); in ExpandInstruction() local
104 new_input_shape.DeleteDimension(dim); in ExpandInstruction()
162 HloInstruction::CreateReshape(new_input_shape, input)); in ExpandInstruction()
Dreshape_decomposer.cc36 Shape new_input_shape = *output_aligned_input_shape; in HandleReshape() local
37 HloInstruction* copied_operand = MakeCopyHlo(operand, new_input_shape); in HandleReshape()
Dalgebraic_simplifier.cc6637 Shape new_input_shape = ShapeUtil::MakeShapeWithDescendingLayout( in SimplifyConvToDot() local
6639 simplifier_->UpdateLayout(&new_input_shape); in SimplifyConvToDot()
6650 auto new_lhs = add_bitcast(new_input_shape, lhs); in SimplifyConvToDot()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_pad_for_convolutions.cc207 Shape* new_input_shape; in TryResolvePaddedShapesForTensorCore() local
210 std::tie(new_input_shape, new_filter_shape, new_output_shape) = [&] { in TryResolvePaddedShapesForTensorCore()
229 new_input_shape->dimensions(dnums.input_feature_dimension()); in TryResolvePaddedShapesForTensorCore()
233 new_input_shape->set_dimensions(dnums.input_feature_dimension(), 4); in TryResolvePaddedShapesForTensorCore()
239 pad_dim(new_input_shape, dnums.input_feature_dimension()); in TryResolvePaddedShapesForTensorCore()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dconv_canonicalization.cc75 Shape new_input_shape = in Run() local
78 HloInstruction::CreateTranspose(new_input_shape, input, in Run()
/external/pytorch/aten/src/ATen/native/quantized/cpu/
DOnednnUtils.h65 auto new_input_shape = std::get<InputShape>(new_key); in hit_dynamic() local
67 cached_input_shape == new_input_shape && in hit_dynamic()
/external/pytorch/test/
Dtest_expanded_weights.py839 new_input_shape = [1] * (len(input.shape) + 1)
841 new_input_shape[0] = 2
842 input = input.repeat(new_input_shape)
844 new_input_shape[1] = 2
845 input = input.unsqueeze(1).repeat(new_input_shape)