tvm_tirx.ir.assert_structural_equal#
- tvm_tirx.ir.assert_structural_equal(lhs, rhs, map_free_vars=False)#
Assert lhs and rhs are structurally equal to each other.
- Parameters:
lhs (tvm_ffi.Object) – The left operand.
rhs (tvm_ffi.Object) – The left operand.
map_free_vars (bool) – Whether or not shall we map free vars that does not bound to any definitions as equal to each other.
:raises ValueError : if assertion does not hold.:
See also