code: public void defineInputs(int numInputs) {
          Preconditions.checkArgument(numInputs > 0, "Number of inputs must be > 0: Got %s", numInputs);
          String[] inputNames = new String[numInputs];
          for (int i = 0; i < numInputs; i++) {
              inputNames[i] = "input_" + i;
          }
      }
docs: Define the inputs to the DL4J SameDiff vertex with generated names. Names will have format "input_0", "input_1", etc
  
  @param numInputs Number of inputs to the vertex.