boundlab.interp.base.ReduceMean#
- class boundlab.interp.base.ReduceMean#
Bases:
OpHandlerONNX
ReduceMeanaxis by axis viaExpr.mean— exact (linear).Methods
Whether this handler applies to these operands (default: always).
Transform the operands; sub-operations go through
interp.<op>so the enclosing domain's handlers apply to them too.A copy of this handler that takes precedence over
otherwhen both are ready for the same call.- __init__(op='reduce_mean')#
- condition(*args, **kwargs)#
Whether this handler applies to these operands (default: always).
- handle(interp, *args, **kwargs)#
Transform the operands; sub-operations go through
interp.<op>so the enclosing domain’s handlers apply to them too.
- override_handler(other)#
A copy of this handler that takes precedence over
otherwhen both are ready for the same call.