Home
last modified time | relevance | path

Searched refs:rhs_batch_dimensions (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/xla/
Dattribute_importer.cc88 std::vector<int64_t> rhs_batch_dimensions( in ConvertDotDimensionNumbers() local
89 dnums.rhs_batch_dimensions().begin(), dnums.rhs_batch_dimensions().end()); in ConvertDotDimensionNumbers()
95 auto rhs_batch_dims_attr = Convert(rhs_batch_dimensions, builder); in ConvertDotDimensionNumbers()
Dmlir_hlo_to_hlo.cc246 auto rhs_batch_dimensions = in Convert_dot_dimension_numbers() local
260 for (const auto& val : rhs_batch_dimensions) { in Convert_dot_dimension_numbers()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddot_decomposer.cc107 } else if (!absl::c_linear_search(original_dnums.rhs_batch_dimensions(), in CanonicalizeDot()
120 original_dnums.rhs_batch_dimensions().begin(), in CanonicalizeDot()
121 original_dnums.rhs_batch_dimensions().end()); in CanonicalizeDot()
208 !absl::c_equal(dnums.rhs_batch_dimensions(), canonical_batch_dims)) { in Run()
Ddot_as_convolution_util.cc161 dnums.batch_dims.back().rhs = dot_dim_numbs.rhs_batch_dimensions(i); in ParseDotGeneralFromDot()
188 if (!absl::c_linear_search(dot_dim_numbs.rhs_batch_dimensions(), i) && in ParseDotGeneralFromDot()
Dbatch_dot_simplification.cc38 batch_dot->dot_dimension_numbers().rhs_batch_dimensions()) || in ElideDegenerateBatchDimensionFromBatchDot()
Dtranspose_folding.cc43 dot.dot_dimension_numbers().rhs_batch_dimensions())) { in CanFoldOperandsIntoDot()
Dshape_inference.cc615 absl::Span<const int64> rhs_batch_dimensions = in ValidateDotDimensionNumbers() local
616 AsInt64Slice(dimension_numbers.rhs_batch_dimensions()); in ValidateDotDimensionNumbers()
621 rhs_batch_dimensions)) { in ValidateDotDimensionNumbers()
638 !dims_unique(rhs_contracting_dimensions, rhs_batch_dimensions)) { in ValidateDotDimensionNumbers()
697 rhs.dimensions(dimension_numbers.rhs_batch_dimensions(i))) { in InferDotOpShape()
724 !absl::c_linear_search(dimension_numbers.rhs_batch_dimensions(), i)) { in InferDotOpShape()
Ddynamic_dimension_inference.cc493 for (int64 i : dimension_numbers.rhs_batch_dimensions()) { in HandleDot()
522 if (absl::c_linear_search(dimension_numbers.rhs_batch_dimensions(), in HandleDot()
Dindexed_array_analysis.cc1076 /*batch_dims=*/AsInt64Slice(dim_numbers.rhs_batch_dimensions()))) { in ComputeArrayForDotWithIndexedRhs()
Dalgebraic_simplifier.cc1777 for (int64 dim : dnums.rhs_batch_dimensions()) { in RemoveDegenerateDimensionFromDot()
2341 AsInt64Slice(dot->dot_dimension_numbers().rhs_batch_dimensions()), in HandleDot()
2392 AsInt64Slice(dot->dot_dimension_numbers().rhs_batch_dimensions()), in HandleDot()
4729 dnums.rhs_batch_dimensions(batch_dim)); in HandleReduce()
4735 dnums.rhs_batch_dimensions(batch_dim)); in HandleReduce()
Dhlo_instructions.cc3007 if (!dnums.rhs_batch_dimensions().empty()) { in DotDimensionNumbersToString()
3009 StrJoin(dnums.rhs_batch_dimensions(), ","), "}")); in DotDimensionNumbersToString()
Dhlo_evaluator_typed_visitor.h1425 &rhs_index[dnums.rhs_batch_dimensions(i)]});
1437 !absl::c_linear_search(dnums.rhs_batch_dimensions(), i)) {
Delemental_ir_emitter.cc2223 dot_result_index[dim_numbers.rhs_batch_dimensions(i)]); in EmitElementalDot()
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py177 dnums.rhs_batch_dimensions.append(0)
579 dim_nums.rhs_batch_dimensions.append(2)
580 dim_nums.rhs_batch_dimensions.append(3)
595 dim_nums.rhs_batch_dimensions.append(0)
610 dim_nums.rhs_batch_dimensions.append(0)
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcublas_gemm_pad_for_tensor_cores.cc138 !absl::c_equal(dimension_numbers.rhs_batch_dimensions(), in CheckCanonical()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py499 self.rhs_batch_dimensions = []
524 dot_dims_proto.rhs_batch_dimensions.extend(rhs_batch)
Dxla_client_test.py727 dimension_numbers.rhs_batch_dimensions.append(0)
/external/tensorflow/tensorflow/compiler/tf2xla/ops/
Dxla_ops.cc235 dimension_numbers.rhs_batch_dimensions(i); in __anonbbc1c2d10202()
275 absl::c_linear_search(dimension_numbers.rhs_batch_dimensions(), in __anonbbc1c2d10202()
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/
Dhlo_text_to_lhlo_no_opt.hlotxt144 …hs_contracting_dimensions\":[\"0\"],\"lhs_batch_dimensions\":[],\"rhs_batch_dimensions\":[]},\"bat…
169 …hs_contracting_dimensions\":[\"0\"],\"lhs_batch_dimensions\":[],\"rhs_batch_dimensions\":[]},\"bat…
194 …hs_contracting_dimensions\":[\"0\"],\"lhs_batch_dimensions\":[],\"rhs_batch_dimensions\":[]},\"bat…
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc1101 absl::c_equal(batch_dim_numbers, dim_numbers.rhs_batch_dimensions())); in ValidateDotDimensionNumbers()
/external/tensorflow/tensorflow/compiler/xla/
Dxla_data.proto573 repeated int64 rhs_batch_dimensions = 4; field
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Ddot_handler.cc49 mapping.batch_dims.back().rhs = dnums.rhs_batch_dimensions(i); in HandleDot()
69 if (absl::c_linear_search(dnums.rhs_batch_dimensions(), i) || in HandleDot()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc670 GetI64DenseElementsAttr(hlo_dims.rhs_batch_dimensions()), in EmitGemm()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Doperation_semantics.md1014 | 'rhs_batch_dimensions' | repeated int64 | 'rhs' batch dimension numbers |