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

Method MakeShapeWithStaticDimensions

tensorflow/compiler/xla/shape_util.cc:190–195  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

188}
189
190/* static */ Shape ShapeUtil::MakeShapeWithStaticDimensions(
191 const Shape& shape) {
192 Shape output = shape;
193 output.clear_dynamic_dimensions();
194 return output;
195}
196
197/* static */ StatusOr<Shape> ShapeUtil::MakeValidatedShape(
198 PrimitiveType element_type, absl::Span<const int64> dimensions) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected