Created by: chenwhql
Simplify Op input and output check in op's inferShape.
original:
OP_INOUT_CHECK(ctx->HasInput("X"), "Input", "X", "Mul");
OP_INOUT_CHECK(ctx->HasInput("Y"), "Input", "Y", "Mul");
OP_INOUT_CHECK(ctx->HasOutput("Out"), "Output", "Out", "Mul");
new:
ctx->CheckInputsAndOutputs("mul");