getInputIndex method

int getInputIndex(
  1. String opName
)

Gets index of an input given the op name of the input.

Implementation

int getInputIndex(String opName) =>
    _findTensorIndex(opName, getInputTensors(), 'Input');