ForwardBackwardResult
¶
Source code in docs_src/capo_sagemakertrainingsessionruntime/types/forward_backward_result.py
loss_fn_output_type
instance-attribute
¶
loss_fn_output_type: NotRequired[str]
The data type of the loss function output tensors.
loss_fn_outputs
instance-attribute
¶
loss_fn_outputs: NotRequired[TensorDataMapList]
The loss function output tensors, keyed by name.
metrics
instance-attribute
¶
metrics: NotRequired[MetricsMap]
The training metrics emitted by the engine, such as loss values.
token_usage
instance-attribute
¶
token_usage: NotRequired[TrainingTokenUsage]
The token usage statistics for metering.