class_docstr: Pattern matching expression in Relay.
class_docstr_tok: ["Pattern","matching","expression","in","Relay","."]
docstr: Construct a Match.
  
  Parameters
  ----------
  data: tvm.relay.Expr
      The value being deconstructed and matched.
  
  clauses: List[tvm.relay.Clause]
      The pattern match clauses.
  
  complete: Optional[Bool]
      Should the match be complete (cover all cases)?
      If yes, the type checker will generate an error if there are any missing cases.
  
  Returns
  -------
  match: tvm.relay.Expr
      The match expression.
docstr_tok: ["Construct","a","Match",".","Parameters","--","--","--","--","--","data",":","tvm.relay.Expr","The","value","being","deconstructed","and","matched",".","clauses",":","List","[","tvm.relay.Clause","]","The","pattern","match","clauses",".","complete",":","Optional","[","Bool","]","Should","the","match","be","complete","(","cover","all","cases",")","?","If","yes",",","the","type","checker","will","generate","an","error","if","there","are","any","missing","cases",".","Returns","--","--","--","-","match",":","tvm.relay.Expr","The","match","expression","."]
code: def __init__(self, data, clauses, complete=True):
      """Construct a Match.
  
      Parameters
      ----------
      data: tvm.relay.Expr
          The value being deconstructed and matched.
  
      clauses: List[tvm.relay.Clause]
          The pattern match clauses.
  
      complete: Optional[Bool]
          Should the match be complete (cover all cases)?
          If yes, the type checker will generate an error if there are any missing cases.
  
      Returns
      -------
      match: tvm.relay.Expr
          The match expression.
      """
      self.__init_handle_by_constructor__(
          _ffi_api.Match, data, clauses, complete
      )
  
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 Match object from inherited base classes: ExprWithOp with example: obj = Match(data, clauses, complete)