def cumprod(x, axis=None):
    """Compute the cumulative product along the given axis.

    Parameters
    ----------
    x : Tensor
        The input tensor.
    axis : int
        The axis to sum. Default is ``None`` (Along all axes).

    """
    raise NotImplementedError()
