Function tvm::tirx::CheckWellFormed(const Function&, bool)#
Defined in File analysis.h
Function Documentation#
-
bool tvm::tirx::CheckWellFormed(const Function &func, bool assert_mode = true)#
Check whether a TIRx function is well formed.
- Parameters:
func – The Function 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.