code: def test_creating_var_with_numpy_arrays(self):
      with self.cached_session() as session:
          x = np.asarray(np.random.random((64, 3)), dtype=np.float32)
          initial = np.zeros_like(x)
          var_x = variable_v1.VariableV1(initial)
          numpy_dataset.init_var_from_numpy(var_x, x, session)
          val = self.evaluate(var_x.value())
          # Verify that the numpy value is copied to the variable.
          self.assertAllEqual(x, val)
  
file_path: tensorflow-upstream/tensorflow/python/distribute/numpy_dataset_test.py
imports: import numpy
  from tensorflow.python.distribute import numpy_dataset
  from tensorflow.python.eager import test
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import variable_v1
label_desc: Use image node_id 1 for calling the InitVarFromNumpyTest obj's underlying member method code with example usage: obj.test_creating_var_with_numpy_arrays() without return types