static */
| 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) { |
nothing calls this directly
no test coverage detected