| 69 | } |
| 70 | |
| 71 | static SymbolVar make( |
| 72 | SymbolVar inp, bool bad, size_t scale, OperatorNodeConfig config = {}) { |
| 73 | return inp.node() |
| 74 | ->owner_graph() |
| 75 | ->insert_opr(std::make_unique<SublinearBadOpr>( |
| 76 | inp.node(), bad, scale, config)) |
| 77 | ->output(0); |
| 78 | } |
| 79 | |
| 80 | bool flag() const { return m_flag; } |
| 81 | size_t scale() const { return m_scale; } |
no test coverage detected