class_docstr: Variable pattern in Relay: Matches anything and binds it to the variable.
class_docstr_tok: ["Variable","pattern","in","Relay",":","Matches","anything","and","binds","it","to","the","variable","."]
docstr: Construct a variable pattern.
  
  Parameters
  ----------
  var: tvm.relay.Var
  
  Returns
  -------
  pv: PatternVar
      A variable pattern.
docstr_tok: ["Construct","a","variable","pattern",".","Parameters","--","--","--","--","--","var",":","tvm.relay.Var","Returns","--","--","--","-","pv",":","PatternVar","A","variable","pattern","."]
code: def __init__(self, var):
      """Construct a variable pattern.
  
      Parameters
      ----------
      var: tvm.relay.Var
  
      Returns
      -------
      pv: PatternVar
          A variable pattern.
      """
      self.__init_handle_by_constructor__(_ffi_api.PatternVar, var)
  
imports: from tvm.ir import Constructor, TypeData
  from tvm.runtime import Object
  import tvm._ffi
  from .base import RelayNode
  from .None import _ffi_api
  from .ty import Type
  from .expr import ExprWithOp, RelayExpr, Call
label_desc: Use image node_id 1 to create a new PatternVar object from inherited base classes: Pattern with example: obj = PatternVar(var)