def instantiate_np_random_state(self, random_state): assert_true(isinstance(random_state, np.random.RandomState)) return random_state.random_sample()
def instantiate_np_random_state(self, random_state): assert isinstance(random_state, np.random.RandomState) return random_state.random_sample()