If we pass input dictionary with incorrect input name, aot executor would execute set_input function without actually setting the correct input or showing error that input name doesn't exist in the model. This will result in silently outputting the incorrect output from the model. I think it should show an error when the input name doesn't exist.
I found this error when I working on a model which had input name of input:0 which is not acceptable in Relay. However, when I tested it I realized it's not just this name, if you pass any name for the input the AOTExecutor would accept it.
cc @areusch @alanmacd
If we pass input dictionary with incorrect input name, aot executor would execute
set_inputfunction without actually setting the correct input or showing error that input name doesn't exist in the model. This will result in silently outputting the incorrect output from the model. I think it should show an error when the input name doesn't exist.I found this error when I working on a model which had input name of
input:0which is not acceptable in Relay. However, when I tested it I realized it's not just this name, if you pass any name for the input the AOTExecutor would accept it.cc @areusch @alanmacd