Create a Pattern that matches the negation of a condition. Parameters ---------- to_reject: tvm.relax.dpl.DFPattern The pattern to deny.
| 547 | |
| 548 | @register_df_node |
| 549 | class NotPattern(DFPattern): |
| 550 | """Create a Pattern that matches the negation of a condition. |
| 551 | |
| 552 | Parameters |
| 553 | ---------- |
| 554 | to_reject: tvm.relax.dpl.DFPattern |
| 555 | The pattern to deny. |
| 556 | """ |
| 557 | |
| 558 | def __init__(self, to_reject: "DFPattern"): |
| 559 | self.__init_handle_by_constructor__(ffi.NotPattern, to_reject) # type: ignore |
| 560 | |
| 561 | |
| 562 | @register_df_node |
no outgoing calls
no test coverage detected
searching dependent graphs…