code: def reshape_with_symbol(v, shape):
      """
      Perform basic reshape if v is symbolic (not array of symbols).
      """
      if is_symbolic(v):
          return np.array(v).reshape(shape)
      shape = [int(s) for s in shape]
      return v.reshape(shape)
  
imports: import functools
  import sympy
  from coremltools.converters.mil.mil.types.symbolic import is_symbolic, isscalar, any_symbolic, any_variadic
  from coremltools.converters.mil.mil import get_new_symbol, get_new_variadic_symbol, VALUE, SYMBOL, types
  from ._op_reqs import *
label_desc: Use image node_id 1 for calling a global function with example usage: reshape_with_symbol(v, shape) and returns: v, np