As we have some nodes that can not define their own input_type (Conv, Flatten, SumPool), the nir.from_list should have the option of giving an input_type (or input_shape) to allow the creation of fully defined graphs.
The from_list would then create the ir.Input with this given shape and could infer the full shapes if wanted.
As we have some nodes that can not define their own input_type (Conv, Flatten, SumPool), the nir.from_list should have the option of giving an input_type (or input_shape) to allow the creation of fully defined graphs. The from_list would then create the ir.Input with this given shape and could infer the full shapes if wanted.