@combinations.generate(strategy_combinations())
def test_creating_var_with_numpy_arrays(self, distribution):
    with self.cached_session():
        x = np.asarray(np.random.random((64, 3)), dtype=np.float32)
        var_x = distributed_training_utils.get_var_for_numpy(distribution, x)
        val = self.evaluate(var_x.value())
        self.assertAllEqual(x, val)
@combinations.generate(strategy_combinations())
def test_creating_var_with_numpy_arrays(self, distribution):
    with self.cached_session():
        x = np.asarray(np.random.random((64, 3)), dtype=np.float32)
        var_x = distributed_training_utils.get_var_for_numpy(distribution, x)
        val = self.evaluate(var_x.value())
        self.assertAllEqual(x, val)