def gradient(self, theta):
        if np.any(theta < self.min) or np.any(theta > self.max):
            return -np.inf
        else:
            return 0
Computes the gradient of the prior with
dataset/ETHPy150Open automl/RoBO/robo/priors/base_prior.py/TophatPrior.gradient