Struct aws_sdk_sagemaker::model::ShuffleConfig [−][src]
#[non_exhaustive]pub struct ShuffleConfig {
pub seed: i64,
}
Expand description
A configuration for a shuffle option for input data in a channel. If you use
S3Prefix
for S3DataType
, the results of the S3 key prefix
matches are shuffled. If you use ManifestFile
, the order of the S3 object
references in the ManifestFile
is shuffled. If you use
AugmentedManifestFile
, the order of the JSON lines in the
AugmentedManifestFile
is shuffled. The shuffling order is determined
using the Seed
value.
For Pipe input mode, when ShuffleConfig
is specified shuffling is done at
the start of every epoch. With large datasets, this ensures that the order of the
training data is different for each epoch, and it helps reduce bias and possible
overfitting. In a multi-node training job when ShuffleConfig
is combined
with S3DataDistributionType
of ShardedByS3Key
, the data is
shuffled across nodes so that the content sent to a particular node on the first epoch
might be sent to a different node on the second epoch.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.seed: i64
Determines the shuffling order in ShuffleConfig
value.
Implementations
Creates a new builder-style object to manufacture ShuffleConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ShuffleConfig
impl Send for ShuffleConfig
impl Sync for ShuffleConfig
impl Unpin for ShuffleConfig
impl UnwindSafe for ShuffleConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more