docstr: Essentially sympy.Symbol representing an i32 value in shape.
  
  sym_name: str. If first character is *, then this symbol represents
  variadic rank. Otherwise the symbol name should start with a alpha
  character. `sym_name` must be unique if specified, or it'd be auto
  generated (to a non-variadic symbol). Furthermore, sym_name may not
  start with 'is' (internal symbol)
docstr_tok: ["Essentially","sympy.Symbol","representing","an","i32","value","in","shape",".","sym_name",":","str",".","If","first","character","is","*",",","then","this","symbol","represents","variadic","rank",".","Otherwise","the","symbol","name","should","start","with","a","alpha","character",".","`","sym_name","`","must","be","unique","if","specified",",","or","it","'d","be","auto","generated","(","to","a","non-variadic","symbol",")",".","Furthermore",",","sym_name","may","not","start","with","'is","'","(","internal","symbol",")"]
code: def __init__(self, sym_name):
      """
      Essentially sympy.Symbol representing an i32 value in shape.
  
      sym_name: str. If first character is *, then this symbol represents
      variadic rank. Otherwise the symbol name should start with a alpha
      character. `sym_name` must be unique if specified, or it'd be auto
      generated (to a non-variadic symbol). Furthermore, sym_name may not
      start with 'is' (internal symbol)
      """
      if not (sym_name[0].isalpha() or sym_name[0] == "*"):
          msg = "Symbol name must start with a letter or *. Got {}"
          raise ValueError(msg.format(sym_name))
      global k_used_symbols
      if sym_name in k_used_symbols:
          msg = "Symbol `{}` is used already."
          raise ValueError(msg.format(sym_name))
      k_used_symbols.add(sym_name)
      self.name = sym_name
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import logging
  import numpy
  import sympy
  from .None import types
  from .block import Function
  from .var import Var
  from .types.symbolic import k_used_symbols, k_num_internal_syms
  from coremltools.converters.mil.input_types import InputType
label_desc: Use image node_id 1 to create a new Symbol object from inherited base classes: _sm with example: obj = Symbol(sym_name)