def METHOD_NAME(
    self,
    x: ArrayLike,
    *,
    axis: int | tuple[int, ...] | None = None,
    keepdims: bool = False,
    maybe_out: ArrayLike | None = None,
) -> ArrayLike:
    assert not isinstance(x, PlaceholderArray)
    out = self._module.METHOD_NAME(x, axis=axis, out=maybe_out)
    if axis is None and isinstance(out, self._module.ndarray):
        return out.item()
    else:
        return out