def METHOD_NAME(self, x: Tensor) -> Tensor:
    r"""
    Logarithm of the intensity (a.k.a. hazard) function.
    The intensity is defined as :math:`\lambda(x) = p(x) / S(x)`.
    The intensity of the Weibull distribution is
    :math:`\lambda(x) = b * k * x^{k - 1}`.
    """
    log_x = x.clip(1e-10, np.inf).log()
    return self.rate.log() + self.shape.log() + (self.shape - 1) * log_x