code: def test_manip():
      v = nn.Variable([2, 3, 4])
      assert v.shape == (2, 3, 4)
      with pytest.raises(Exception):
          v.reste_shape([1, 2])
      v.reset_shape([1, 2], force=True)
      assert v.shape == (1, 2)
  
imports: import pytest
  import numpy
  import nnabla
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: test_manip() without return types