MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MakeShapeWithLayout

Method MakeShapeWithLayout

tensorflow/compiler/xla/shape_util.cc:216–223  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

214}
215
216/* static */ Shape ShapeUtil::MakeShapeWithLayout(
217 PrimitiveType element_type, absl::Span<const int64> dimensions,
218 absl::Span<const int64> minor_to_major, absl::Span<const Tile> tiles,
219 int64 element_size_in_bits, int64 memory_space) {
220 return MakeShapeWithLayoutInternal(element_type, dimensions, minor_to_major,
221 tiles, element_size_in_bits, memory_space)
222 .ValueOrDie();
223}
224
225/* static */ Shape ShapeUtil::MakeShapeWithDescendingLayout(
226 PrimitiveType element_type, absl::Span<const int64> dimensions) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected