()
| 206 | |
| 207 | |
| 208 | def test_tensor_struct_info(): |
| 209 | obj = relax.TensorStructInfo( |
| 210 | shape=relax.ShapeExpr([1, tirx.Var("a", "int64"), 3]), |
| 211 | dtype="float32", |
| 212 | ) |
| 213 | _assert_print( |
| 214 | obj, |
| 215 | """ |
| 216 | a = T.int64() |
| 217 | R.Tensor((1, a, 3), dtype="float32") |
| 218 | """, |
| 219 | ) |
| 220 | |
| 221 | |
| 222 | def test_tuple_struct_info_empty(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…