code: def test_1d_NDArrayView_copy():
      x = C.input_variable(shape=(1,))
      op = x + 1
      result = op.eval({x: [np.asarray([1])]}, as_numpy=False)
      result_slice = result.data.slice_view((0, 0), (1,))
  
      w = C.parameter(init=np.asarray([1]))
      w.set_value(result_slice)
  
      assert np.array_equal(w.value, result_slice.asarray())
  
file_path: CNTK/bindings/python/cntk/tests/function_test.py
imports: import pytest
  import numpy
  import cntk
label_desc: Use image node_id 3 for calling a global function with example usage: test_1d_NDArrayView_copy() without return types