tvm_tirx.script.ir_builder.module_get_attr#
- tvm_tirx.script.ir_builder.module_get_attr(attr_key)#
Get the specified attr of the ir_module frame. :param attr_key: The key of the attr to be retrieved. :type attr_key: str
- Returns:
attr (Optional[Object]) – The specified module attr or None if not found.
- Parameters:
attr_key (str)
- Return type:
Object | None