def METHOD_NAME(cls, op, xp, *args, **kw):
    if kw.get("out") is not None:
        kw["out"] = xp.asarray(kw["out"])
    r = cls._get_func(xp)(*args, **kw)
    return convert_order(r, op.outputs[0].order.value)