Home
last modified time | relevance | path

Searched refs:output_batch_dimension (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dconvolution_group_converter.cc220 int64 output_batch_dimension = dim_numbers.output_batch_dimension(); in HandleBatchGroupCount() local
283 if (output_batch_dimension > output_feature_dimension) { in HandleBatchGroupCount()
284 dim_numbers.set_output_batch_dimension(output_batch_dimension + 1); in HandleBatchGroupCount()
326 GetExpandedFilterMask(convolution->shape(), output_batch_dimension, in HandleBatchGroupCount()
329 convolution->shape(), batch_group_count, output_batch_dimension); in HandleBatchGroupCount()
331 VLOG(2) << "output_batch_dimension " << output_batch_dimension; in HandleBatchGroupCount()
353 reduce_window_shape.set_dimensions(output_batch_dimension, 1); in HandleBatchGroupCount()
389 if (i == output_batch_dimension) { in HandleBatchGroupCount()
552 if (dim_numbers.output_batch_dimension() > in HandleConvolution()
555 dim_numbers.output_batch_dimension() + 1); in HandleConvolution()
[all …]
Dspace_to_batch_converter_test.cc62 .output_batch_dimension(); in TEST_F()
111 .output_batch_dimension(); in TEST_F()
145 .output_batch_dimension(); in TEST_F()
Dconvolution_4d_expander.cc137 removed_output_dimensions, new_dim_nums.output_batch_dimension())); in ExpandInstruction()
Ddot_as_convolution_util.cc59 conv_dims.output_batch_dimension(), -1}); in ParseConvolutionDimsInfo()
Dspace_to_batch_converter.cc1991 dim_map[permuted_conv_dims_numbers.output_batch_dimension()] = dim_count; in PropagateOnConv()
2027 std::make_pair(original_conv_dims.output_batch_dimension(), in PropagateOnConv()
2553 std::make_pair(original_conv_dims.output_batch_dimension(), in PropagateOnBackpropFilterConv()
2754 dim_map[dim_numbers.output_batch_dimension()] = dim_count; in PerformSpaceToBatchOnConvolution()
2796 const int64 output_batch_dim = new_dim_numbers.output_batch_dimension(); in PerformSpaceToBatchOnConvolution()
2806 dim_numbers.output_batch_dimension(), in PerformSpaceToBatchOnConvolution()
2812 std::make_pair(dim_numbers.output_batch_dimension(), in PerformSpaceToBatchOnConvolution()
Ddynamic_dimension_inference.cc571 dimension_numbers.output_batch_dimension(), in HandleConvolution()
699 parent_->SetDynamicSize(hlo, {}, dimension_numbers.output_batch_dimension(), in HandleDynamicConvolutionForward()
Dshape_inference.cc1697 output_dnums[0] = dnums.output_batch_dimension(); in InferConvolveShape()
1821 dimensions[dnums.output_batch_dimension()] = input_batch / batch_group_count; in InferConvolveShape()
1832 is_dynamic[dnums.output_batch_dimension()] = true; in InferConvolveShape()
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/
Dlhlo_gpu_ops.mlir43 output_batch_dimension = 0 : i64,
78 output_batch_dimension = 0 : i64,
108 output_batch_dimension = 0 : i64,
140 output_batch_dimension = 0 : i64,
171 output_batch_dimension = 0 : i64,
Dlhlo-legalize-to-linalg.mlir908 … i64, kernel_spatial_dimensions = dense<[0, 1]> : tensor<2xi64>, output_batch_dimension = 0 : i64,…
915 … i64, kernel_spatial_dimensions = dense<[0, 1]> : tensor<2xi64>, output_batch_dimension = 0 : i64,…
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/
Dlayouts_and_names.mlir17 output_batch_dimension = 0 : i64,
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emission_utils.cc106 dnums.output_batch_dimension() == 0 && in PotentiallyImplementedAsEigenConvolution()
Dconv_canonicalization.cc103 auto output_batch_dim = dnums.output_batch_dimension(); in Run()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py545 self.output_batch_dimension = 0
585 dimension_numbers.output_batch_dimension = 0
598 dimension_numbers.output_batch_dimension = out_spec.index('N')
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconvolution_dimension_numbers_test.cc109 int64 old_output_batch_dim = dim_nums.output_batch_dimension(); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dhlo_ops_base_structs.td48 StructFieldAttr<"output_batch_dimension", I64Attr>,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dstream_executor_util.cc99 output_layout.push_back(dnums.output_batch_dimension()); in StreamExecutorConvLayoutsToXlaLayouts()
106 output_layout.push_back(dnums.output_batch_dimension()); in StreamExecutorConvLayoutsToXlaLayouts()
Dgpu_conv_rewriter.cc187 auto output_batch_dim = conv_dnums.output_batch_dimension(); in MatchBackwardFilter()
516 dnums.set_input_batch_dimension(conv_dnums.output_batch_dimension()); in MatchBackwardInput()
Dgpu_conv_runner.cc421 .set_count(output_shape.dimensions(dnums.output_batch_dimension())); in GetGpuConvConfig()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dattribute_exporter.cc49 input.output_batch_dimension().getValue().getSExtValue()); in ConvertConvDimensionNumbers()
Dattribute_importer.cc122 builder->getI64IntegerAttr(dnums.output_batch_dimension()), in ConvertConvDimensionNumbers()
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/
Dhlo_text_to_lhlo_no_opt.hlotxt290 // CHECK-SAME: output_batch_dimension = 0 : i64
327 // CHECK-SAME: output_batch_dimension = 0 : i64
366 // CHECK-SAME: output_batch_dimension = 0 : i64
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dconvolution_handler.cc88 dnums.output_batch_dimension(); in PartitionConvolutionWithBatchGroupCount()
179 dnums.output_batch_dimension(); in PartitionConvolutionWithFeatureGroupCount()
759 dnums.output_batch_dimension(); in PartitionConvolutionTiledOutput()
Ddot_handler.cc281 int64 output_batch_dimension = dnums.output_batch_dimension(); in GenNewConvDNums() local
290 if (output_slice_dim <= output_batch_dimension) { in GenNewConvDNums()
291 output_batch_dimension++; in GenNewConvDNums()
318 new_dnums.set_output_batch_dimension(output_batch_dimension); in GenNewConvDNums()
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/
Dconv_emitter.cc546 conv->shape().tuple_shapes(0), dim_nums.output_batch_dimension(), in EmitConvolutionForwardAsMlir()
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py140 dnums.output_batch_dimension = 0

12