Class: Aws::SageMakerTrainingSessionRuntime::Types::ForwardConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerTrainingSessionRuntime::Types::ForwardConfig
- Defined in:
- gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb
Overview
The configuration for a forward-only pass through the model. This computes loss values without computing gradients.
Constant Summary collapse
- SENSITIVE =
[:datum_list]
Instance Attribute Summary collapse
-
#datum_list ⇒ Array<Types::Datum>
The list of input data to feed through the model.
-
#loss_fn_config ⇒ Hash, ...
Additional loss function configuration passed to the engine.
-
#loss_fn_name ⇒ String
The name of the loss function to evaluate during the forward pass.
Instance Attribute Details
#datum_list ⇒ Array<Types::Datum>
The list of input data to feed through the model. Must contain at least one datum, and each datum must have a non-empty modelInput with at least one chunk.
324 325 326 327 328 329 330 |
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 324 class ForwardConfig < Struct.new( :loss_fn_name, :datum_list, :loss_fn_config) SENSITIVE = [:datum_list] include Aws::Structure end |
#loss_fn_config ⇒ Hash, ...
Additional loss function configuration passed to the engine.
Supported keys are clip_low_threshold (valid range: 0 to 1) and
clip_high_threshold (valid range: 1 to 10). Unsupported keys are
rejected.
324 325 326 327 328 329 330 |
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 324 class ForwardConfig < Struct.new( :loss_fn_name, :datum_list, :loss_fn_config) SENSITIVE = [:datum_list] include Aws::Structure end |
#loss_fn_name ⇒ String
The name of the loss function to evaluate during the forward pass.
324 325 326 327 328 329 330 |
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 324 class ForwardConfig < Struct.new( :loss_fn_name, :datum_list, :loss_fn_config) SENSITIVE = [:datum_list] include Aws::Structure end |