def METHOD_NAME(*args, **kwargs):
    """Use from_scalar or from_tensor instead.
    Raises:
        RuntimeError
    """
    raise RuntimeError(
        "you should call from_scalar or from_tensor according to the argument type"
    )