boundlab.interp.handler_fn#

boundlab.interp.handler_fn(op, condition=None)[source]#

Wrap a plain function as an OpHandler class for operator op.

The stateless common case: function(*args, **attrs) becomes the handler’s handle (without the interpreter argument), and an optional condition predicate gates it.