class_docstr: Clause for pattern matching in Relay.
class_docstr_tok: ["Clause","for","pattern","matching","in","Relay","."]
docstr: Construct a clause.
  
  Parameters
  ----------
  lhs: tvm.relay.Pattern
      Left-hand side of match clause.
  rhs: tvm.relay.Expr
      Right-hand side of match clause.
  
  Returns
  -------
  clause: Clause
      The Clause.
docstr_tok: ["Construct","a","clause",".","Parameters","--","--","--","--","--","lhs",":","tvm.relay.Pattern","Left-hand","side","of","match","clause",".","rhs",":","tvm.relay.Expr","Right-hand","side","of","match","clause",".","Returns","--","--","--","-","clause",":","Clause","The","Clause","."]
code: def __init__(self, lhs, rhs):
      """Construct a clause.
  
      Parameters
      ----------
      lhs: tvm.relay.Pattern
          Left-hand side of match clause.
      rhs: tvm.relay.Expr
          Right-hand side of match clause.
  
      Returns
      -------
      clause: Clause
          The Clause.
      """
      self.__init_handle_by_constructor__(_ffi_api.Clause, lhs, rhs)
  
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 Clause object from inherited base classes: Object with example: obj = Clause(lhs, rhs)