Class MLCLSTMResultMode


  • public final class MLCLSTMResultMode
    extends java.lang.Object
    [@enum] MLCLSTMResultMode A result mode for an LSTM layer.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Output
      The output result mode.
      static long OutputAndStates
      The output and states result mode.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Output

        public static final long Output
        The output result mode. When selected for an LSTM layer, the layer will produce a single result tensor representing the final output of the LSTM.
        See Also:
        Constant Field Values
      • OutputAndStates

        public static final long OutputAndStates
        The output and states result mode. When selected for an LSTM layer, the layer will produce three result tensors representing the final output of the LSTM, the last hidden state, and the cell state, respectively.
        See Also:
        Constant Field Values