Function tvm::tirx::CheckWellFormed(const IRModule&, bool)#
Defined in File analysis.h
Function Documentation#
-
bool tvm::tirx::CheckWellFormed(const IRModule &mod, bool assert_mode = true)#
Check whether a TIRx module is well formed.
- Parameters:
mod – The IRModule to be verified.
assert_mode – Whether to raise on invalid IR (default: true).
- Returns:
True for valid IR; false for invalid IR when assert_mode is false.