()
| 404 | |
| 405 | |
| 406 | def test_seq_expr(): |
| 407 | bindings = [relax.VarBinding(x, relax.const(1))] |
| 408 | blocks = [relax.BindingBlock(bindings)] |
| 409 | seq_expr = relax.SeqExpr(blocks, x) |
| 410 | basic_check( |
| 411 | seq_expr, |
| 412 | "\n".join( |
| 413 | [ |
| 414 | "SeqExpr", |
| 415 | "\tBindingBlock", |
| 416 | "\t\tVarBinding", |
| 417 | "\t\t\tConstant", |
| 418 | "\t\t\tVarDef", |
| 419 | "\tVar", |
| 420 | ] |
| 421 | ), |
| 422 | "\n".join(["Constant", "VarDef", "VarBinding", "BindingBlock", "Var", "SeqExpr"]), |
| 423 | ) |
| 424 | |
| 425 | |
| 426 | def test_shape_expr(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…