code: public void fit(INDArray[] inputs, INDArray[] labels, INDArray[] featureMaskArrays, INDArray[] labelMaskArrays) {
          try{
              fitHelper(inputs, labels, featureMaskArrays, labelMaskArrays);
          } catch (OutOfMemoryError e){
              CrashReportingUtil.writeMemoryCrashDump(this, e);
              throw e;
          }
      }
docs: Fit the ComputationGraph using the specified inputs and labels (and mask arrays)
  
  @param inputs            The network inputs (features)
  @param labels            The network labels
  @param featureMaskArrays Mask arrays for inputs/features. Typically used for RNN training. May be null.
  @param labelMaskArrays   Mas arrays for the labels/outputs. Typically used for RNN training. May be null.