Home
last modified time | relevance | path

Searched refs:MinorToMajor (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dindex_util.cc78 for (auto dimension : LayoutUtil::MinorToMajor(shape)) { in MultidimensionalIndexToLinearIndex()
108 for (auto dimension : LayoutUtil::MinorToMajor(shape)) { in LinearIndexToMultidimensionalIndex()
134 for (auto dim : LayoutUtil::MinorToMajor(shape)) { in GetDimensionStride()
Dlayout_util.h120 static absl::Span<const int64> MinorToMajor(const Shape& shape);
121 static absl::Span<const int64> MinorToMajor(const Layout& layout);
Dlayout_util.cc314 /* static */ absl::Span<const int64> LayoutUtil::MinorToMajor( in MinorToMajor() function in xla::LayoutUtil
320 /* static */ absl::Span<const int64> LayoutUtil::MinorToMajor( in MinorToMajor() function in xla::LayoutUtil
Dshape_util.cc1520 absl::Span<const int64> minor_to_major_a = LayoutUtil::MinorToMajor(a); in FindTranspose021()
1523 absl::Span<const int64> minor_to_major_b = LayoutUtil::MinorToMajor(b); in FindTranspose021()
Dshape_util.h776 const int64 rank = LayoutUtil::MinorToMajor(shape).size();
Dliteral.cc697 for (auto index : LayoutUtil::MinorToMajor(shape())) { in Transpose()
738 LayoutUtil::MinorToMajor(shape())); in Slice()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dparallel_loop_emitter.cc45 for (int i = LayoutUtil::MinorToMajor(shape_).size() - 1; i >= 0; --i) { in EmitIndexAndSetExitBasicBlock()
Dir_emitter.cc1928 for (int i = LayoutUtil::MinorToMajor(reduce->shape()).size() - 1; i > 0; in EmitVectorizedReduce()
1976 CHECK_GT(LayoutUtil::MinorToMajor(reduce->shape()).size(), 1); in EmitVectorizedReduce()
1979 CHECK_EQ(LayoutUtil::MinorToMajor(reduce->shape()).size(), 1); in EmitVectorizedReduce()
2197 for (int64 dim : LayoutUtil::MinorToMajor(layout)) { in HandleSlice()
2650 auto output_min2maj = LayoutUtil::MinorToMajor(output_layout); in EmitFastConcatenate()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dloop_emitter.cc102 for (int i = 0; i < LayoutUtil::MinorToMajor(shape_).size(); ++i) { in EmitIndexAndSetExitBasicBlock()
Dir_array.cc238 for (auto dimension : LayoutUtil::MinorToMajor(shape)) { in SourceIndexOfBitcast()
373 for (int64 i = 0; i < LayoutUtil::MinorToMajor(shape_).size(); ++i) { in EmitArrayElementAddress()
Dllvm_loop.cc266 for (int64 dimension : LayoutUtil::MinorToMajor(shape)) { in EmitOperandArrayLoopNest()
Dsort_util.cc315 for (int64 dimension : LayoutUtil::MinorToMajor(keys_shape)) { in EmitSortInPlace()
Dllvm_util.cc230 for (int64 dimension : LayoutUtil::MinorToMajor(shape)) { in ShapeToIrType()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dshape_util.cc38 for (auto dim : xla::LayoutUtil::MinorToMajor(shape)) { in PopulateInfeedLayoutVector()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emission_utils.cc80 for (int64 cur_dim : LayoutUtil::MinorToMajor(shape)) { in PartitionShapeByMiddleDimensions()
/external/tensorflow/tensorflow/compiler/xla/service/
Dlayout_assignment.cc1078 LayoutUtil::MinorToMajor(output_layout)); in ChooseOperandLayoutFromOutputLayout()
1139 LayoutUtil::MinorToMajor(operand_layout)); in ChooseOutputLayoutFromOperandLayout()
1489 LayoutUtil::MinorToMajor(buffer_constraint.layout()).size()) { in PropagateBufferConstraintToOperands()
Dalgebraic_simplifier.cc4292 (PositionInContainer(LayoutUtil::MinorToMajor(filter_shape), in SimplifyConvToDot()
4294 PositionInContainer(LayoutUtil::MinorToMajor(filter_shape), in SimplifyConvToDot()
Dcopy_insertion_test.cc136 auto minor_to_major = LayoutUtil::MinorToMajor(constant->shape()); in TEST_F()
Dhlo_evaluator_typed_visitor.h2685 for (auto dim : LayoutUtil::MinorToMajor(shape)) {