def random_normal_like(x, loc, scale):
    if not isinstance(x, np.ndarray):
        return gp.randn(*x.shape) * scale + loc
    else:
        return np.random.normal(loc, scale, x.shape)
Return an array of the same shape as `x` filled with random numbers from
dataset/ETHPy150Open BRML/climin/climin/mathadapt.py/random_normal_like