def compute_fixed_moments(self, x):
        # Make sure the values are integers in valid range
        x = np.asanyarray(x)
        if not misc.isinteger(x):
            raise ValueError("Count not integer")
        # Now, the moments are just the counts
        return [x]
Compute the moments for a fixed value
dataset/ETHPy150Open bayespy/bayespy/bayespy/inference/vmp/nodes/poisson.py/PoissonMoments.compute_fixed_moments