Gets index of an input given the op name of the input.
int getInputIndex(String opName) => _findTensorIndex(opName, getInputTensors(), 'Input');