Package apple.mlcompute.enums
Class MLCLSTMResultMode
- java.lang.Object
-
- apple.mlcompute.enums.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 longOutputThe output result mode.static longOutputAndStatesThe output and states result mode.
-
-
-
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
-
-