Gets index of an output given the op name of the output.
int getOutputIndex(String opName) => _findTensorIndex(opName, getOutputTensors(), 'Output');