class_docstr: Auxiliary builder to build IR for testing and dev.
  
  Examples
  --------
  .. code-block:: python
  
      ib = tvm.tir.ir_builder.create()
      n = te.var("n")
      A = ib.allocate("float32", n, name="A")
      with ib.for_range(0, n, name="i") as i:
          with ib.if_scope((i % 2) == 0):
              A[i] = A[i] + 1
      # The result stmt.
      stmt = ib.get()
docstr: Create new scope,
  
  this is useful to set boundary of attr and allocate.
  
  Returns
  -------
  new_scope : WithScope
     The result new scope.
code: def new_scope(self):
      """Create new scope,
  
      this is useful to set boundary of attr and allocate.
  
      Returns
      -------
      new_scope : WithScope
         The result new scope.
      """
      self._seq_stack.append([])
  
      def _exit_cb():
          self.emit(self._pop_seq())
  
      return WithScope(None, _exit_cb)
  
imports: import tvm
  from tvm._ffi.base import string_types
  from tvm.runtime import ObjectGeneric, convert, const
  from tvm.ir import container
  from .None import stmt
  from .None import expr
  from .None import buffer
  from .None import op
label_desc: Use image node_id 9 for calling the IRBuilder obj's underlying member method code with example usage: obj.new_scope() and returns: WithScope