code: def get_raw_shape(arr_or_var):
      if isinstance(arr_or_var, chainer.Variable):
          arr = arr_or_var._data[0]
      else:
          arr = arr_or_var
      return arr.shape
  
file_path: chainer/chainer/memory_layouts.py
imports: import chainer
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling a global function with example usage: get_raw_shape(arr_or_var) and returns: arr