OperationResult
The result of a completed training operation. Exactly one member is populated, corresponding to the operation type that was submitted.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- forward
-
The result from a forward-only pass.
Type: ForwardResult object
Required: No
- forwardBackward
-
The result from a forward and backward pass.
Type: ForwardBackwardResult object
Required: No
- loadState
-
The result from loading training state.
Type: LoadStateResult object
Required: No
- optimizerStep
-
The result from an optimizer step.
Type: OptimizerStepResult object
Required: No
- saveState
-
The result from saving full training state.
Type: SaveStateResult object
Required: No
- saveWeights
-
The result from saving model weights.
Type: SaveWeightsResult object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: