You cannot feed number other than [0, 1] to the Bernoulli distribution, it probably cast data to the closest integer internally.
You cannot feed number other than [0, 1] to the Bernoulli distribution, it probably cast data to the closest integer internally.