Improve ir.node annotations to accept None inputs
#2224
Merged
ir.node annotations to accept None inputs
#2224