code: public Map<String, INDArray> feedForward(INDArray[] input, boolean train, boolean clearInputs){
          setInputs(input);
          try {
              return ffToLayerActivationsDetached(train, FwdPassType.STANDARD, false, vertices.length - 1,
                      null, input, inputMaskArrays, labelMaskArrays, clearInputs);
          } catch (OutOfMemoryError e){
              CrashReportingUtil.writeMemoryCrashDump(this, e);
              throw e;
          }
      }
docs: Conduct forward pass using an array of inputs. This overload allows the forward pass to be conducted, optionally
  (not) clearing the layer input arrays.<br>
  Note: this method should NOT be used with clearInputs = true, unless you know what you are doing. Specifically:
  when using clearInputs=false, in combination with workspaces, the layer input fields may leak outside of the
  workspaces in which they were defined - potentially causing a crash. See <a href="https://deeplearning4j.org/docs/latest/deeplearning4j-config-workspaces">
  https://deeplearning4j.org/docs/latest/deeplearning4j-config-workspaces</a>
  for more details
  
  @param input An array of ComputationGraph inputs
  @param train If true: do forward pass at training time; false: do forward pass at test time
  @param clearInputs If true (default for other methods): clear the inputs of all layers after doing forward
  pass. False don't clear layer inputs.
  @return A map of activations for each layer (not each GraphVertex). Keys = layer name, values = layer activations