def _sample_hiddens(self, v, rng):
        p = self._mean_hiddens(v)
        return (rng.random_sample(size=p.shape) < p)
Get a dictionary mapping field names to unary functions that
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/neural_network/rbm.py/BernoulliRBM._sample_hiddens--crossover with--dataset/ETHPy150Open beetbox/beets/beets/plugins.py/item_field_getters