class_docstr: An in-memory database
  
  Parameters
  ----------
  module_equality : Optional[str]
      A string to specify the module equality testing and hashing method.
      It must be one of the followings:
        - "structural": Use StructuralEqual/Hash
        - "ignore-ndarray": Same as "structural", but ignore ndarray raw data during
                            equality testing and hashing.
        - "anchor-block": Apply equality testing and hashing on the anchor block extracted from a
                          given module. The "ignore-ndarray" varint is used for the extracted
                          blocks or in case no anchor block is found.
                          For the definition of the anchor block, see tir/analysis/analysis.py.
class_docstr_tok: ["An","in-memory","database","Parameters","--","--","--","--","--","module_equality",":","Optional","[","str","]","A","string","to","specify","the","module","equality","testing","and","hashing","method",".","It","must","be","one","of","the","followings",":","-","``","structural","''",":","Use","StructuralEqual\/Hash","-","``","ignore-ndarray","''",":","Same","as","``","structural","''",",","but","ignore","ndarray","raw","data","during","equality","testing","and","hashing",".","-","``","anchor-block","''",":","Apply","equality","testing","and","hashing","on","the","anchor","block","extracted","from","a","given","module",".","The","``","ignore-ndarray","''","varint","is","used","for","the","extracted","blocks","or","in","case","no","anchor","block","is","found",".","For","the","definition","of","the","anchor","block",",","see","tir\/analysis\/analysis.py","."]
code: def __init__(
      self,
      module_equality: str = "structural",
  ) -> None:
      self.__init_handle_by_constructor__(
          _ffi_api.DatabaseMemoryDatabase,  # type: ignore # pylint: disable=no-member,
          module_equality,
      )
  
imports: from tvm._ffi import register_object
  from ..None import _ffi_api
  from .database import Database
label_desc: Use image node_id 1 to create a new MemoryDatabase object from inherited base classes: Database with example: obj = MemoryDatabase(module_equality)