code: public SDVariable concat(String name, int dimension, SDVariable... inputs) {
          validateSameType("concat", false, inputs);
          SDVariable result = f().concat(dimension, inputs);
          return updateVariableNameAndReference(result, name);
      }
docs: Concatenate a set of inputs along the specified dimension.<br>
  Note that inputs must have identical rank and identical dimensions, other than the dimension to stack on.<br>
  For example, if 2 inputs have shape [a, x, c] and [a, y, c] and dimension = 1, then the output has shape [a, x+y, c]
  
  @param name      Name of the output variable
  @param dimension Dimension to concatenate on
  @param inputs    Input variables
  @return Output variable
  @see #stack(String, int, SDVariable...)