| 27 | namespace { |
| 28 | |
| 29 | TEST(ConvertTypeToTensorTypeTest, UnrankedTensorType) { |
| 30 | mlir::MLIRContext context; |
| 31 | mlir::Builder b(&context); |
| 32 | |
| 33 | PartialTensorShape output_shape = |
| 34 | ConvertTypeToTensorShape(mlir::UnrankedTensorType::get(b.getF32Type())); |
| 35 | EXPECT_TRUE(output_shape.IsIdenticalTo(PartialTensorShape())); |
| 36 | } |
| 37 | |
| 38 | TEST(ConvertTypeToTensorTypeTest, NonFullyDefinedRankedTensorType) { |
| 39 | mlir::MLIRContext context; |
nothing calls this directly
no test coverage detected