class_docstr: A dialect-agnostic IRBuilder that constructs any IR of TVM.
  
  Examples
  --------
  An idiomatic use of this class is to put this inside the with-scope,
  call dialect-specific methods accordingly. Upon exiting the scope.
  
  .. code-block:: python
  from tvm.script.ir_builder import tir as T
  from tvm.script.ir_builder import IRBuilder
  
  with IRBuilder() as builder:
      with T.prim_func(...):  # pushes a PrimFuncFrame (subclass of IRBuilderFrame)
                              # to `builder`'s stack of frames
          buffer = T.match_buffer(...)
  
  return builder.get()        # returns the constructed IR, i.e. tir.PrimFunc
class_docstr_tok: ["A","dialect-agnostic","IRBuilder","that","constructs","any","IR","of","TVM",".","Examples","--","--","--","--","An","idiomatic","use","of","this","class","is","to","put","this","inside","the","with-scope",",","call","dialect-specific","methods","accordingly",".","Upon","exiting","the","scope",".","..","code-block",":",":","python","from","tvm.script.ir_builder","import","tir","as","T","from","tvm.script.ir_builder","import","IRBuilder","with","IRBuilder","(",")","as","builder",":","with","T.prim_func","(","...",")",":","#","pushes","a","PrimFuncFrame","(","subclass","of","IRBuilderFrame",")","#","to","`","builder","`","'s","stack","of","frames","buffer","=","T.match_buffer","(","...",")","return","builder.get","(",")","#","returns","the","constructed","IR",",","i.e",".","tir.PrimFunc"]
docstr: See if the current thread-local scope has an IRBuilder.
  
  Returns
  -------
  bool
      Whether the current thread-local scope has an IRBuilder
docstr_tok: ["See","if","the","current","thread-local","scope","has","an","IRBuilder",".","Returns","--","--","--","-","bool","Whether","the","current","thread-local","scope","has","an","IRBuilder"]
code: def is_in_scope() -> bool:
      """See if the current thread-local scope has an IRBuilder.
  
      Returns
      -------
      bool
          Whether the current thread-local scope has an IRBuilder
      """
      return _ffi_api.IRBuilderIsInScope()
  
file_path: tvm/python/tvm/script/ir_builder/base.py
imports: from typing import Any, Callable, List
  from tvm._ffi import register_object
  from tvm.runtime import Object
  from .None import _ffi_api
label_desc: Use image node_id 5 for calling the IRBuilder obj's underlying member method code with example usage: obj.is_in_scope() and returns: _ffi_api