code: def test_set_value_non_contiguous():
      s = gpuarray_shared_constructor(
          np.asarray([[1.0, 2.0], [1.0, 2.0], [5, 6]])
      )
      s.set_value(
          s.get_value(borrow=True, return_internal_type=True)[::2],
          borrow=True,
      )
      assert not s.get_value(
          borrow=True, return_internal_type=True
      ).flags["C_CONTIGUOUS"]
      # In the past, this failed
      s.set_value([[0, 0], [1, 1]])
  
imports: from __future__ import absolute_import, print_function, division
  import os
  import nose
  import numpy
  import theano
  from theano.compat import PY3
  from theano import config
  from theano.compile import DeepCopyOp, Rebroadcast, ViewOp
  from theano.misc.pkl_utils import CompatUnpickler
  from .config import test_ctx_name
  from .test_basic_ops import rand_gpuarray
  from ..type import GpuArrayType, gpuarray_shared_constructor
  import pygpu
label_desc: Use image node_id 10 for calling a global function with example usage: test_set_value_non_contiguous() without return types