static */
| 79 | } |
| 80 | |
| 81 | /* static */ Layout LayoutUtil::MakeDescendingLayout(int64 rank) { |
| 82 | std::vector<int64> layout(rank); |
| 83 | std::iota(layout.rbegin(), layout.rend(), static_cast<int64>(0)); |
| 84 | return MakeLayout(layout); |
| 85 | } |
| 86 | |
| 87 | /* static */ Layout LayoutUtil::MakeLayoutFromMajorToMinor( |
| 88 | absl::Span<const int64> major_to_minor) { |
nothing calls this directly
no test coverage detected