code: public void defineInputs(String... inputNames) {
          Preconditions.checkArgument(inputNames != null && inputNames.length > 0,
                          "Input names must not be null, and must have length > 0: got %s", inputNames);
          this.inputs = Arrays.asList(inputNames);
      }
docs: Define the inputs to the DL4J SameDiff Vertex with specific names
  @param inputNames Names of the inputs. Number here also defines the number of vertex inputs
  @see #defineInputs(int)