@@ -972,7 +972,7 @@ def from_recipe(
972
972
sagemaker_session : Optional [Session ] = None ,
973
973
role : Optional [str ] = None ,
974
974
base_job_name : Optional [str ] = None ,
975
- ) -> "ModelTrainer" :
975
+ ) -> "ModelTrainer" : # noqa: D412
976
976
"""Create a ModelTrainer from a training recipe.
977
977
978
978
Example:
@@ -1120,7 +1120,7 @@ def from_recipe(
1120
1120
1121
1121
def with_tensorboard_output_config (
1122
1122
self , tensorboard_output_config : Optional [TensorBoardOutputConfig ] = None
1123
- ) -> "ModelTrainer" :
1123
+ ) -> "ModelTrainer" : # noqa: D412
1124
1124
"""Set the TensorBoard output configuration.
1125
1125
1126
1126
Example:
@@ -1140,7 +1140,7 @@ def with_tensorboard_output_config(
1140
1140
self ._tensorboard_output_config = tensorboard_output_config or TensorBoardOutputConfig ()
1141
1141
return self
1142
1142
1143
- def with_retry_strategy (self , retry_strategy : RetryStrategy ) -> "ModelTrainer" :
1143
+ def with_retry_strategy (self , retry_strategy : RetryStrategy ) -> "ModelTrainer" : # noqa: D412
1144
1144
"""Set the retry strategy for the training job.
1145
1145
1146
1146
Example:
@@ -1165,7 +1165,7 @@ def with_retry_strategy(self, retry_strategy: RetryStrategy) -> "ModelTrainer":
1165
1165
1166
1166
def with_infra_check_config (
1167
1167
self , infra_check_config : Optional [InfraCheckConfig ] = None
1168
- ) -> "ModelTrainer" :
1168
+ ) -> "ModelTrainer" : # noqa: D412
1169
1169
"""Set the infra check configuration for the training job.
1170
1170
1171
1171
Example:
@@ -1187,7 +1187,7 @@ def with_infra_check_config(
1187
1187
1188
1188
def with_session_chaining_config (
1189
1189
self , session_chaining_config : Optional [SessionChainingConfig ] = None
1190
- ) -> "ModelTrainer" :
1190
+ ) -> "ModelTrainer" : # noqa: D412
1191
1191
"""Set the session chaining configuration for the training job.
1192
1192
1193
1193
Example:
@@ -1211,7 +1211,7 @@ def with_session_chaining_config(
1211
1211
1212
1212
def with_remote_debug_config (
1213
1213
self , remote_debug_config : Optional [RemoteDebugConfig ] = None
1214
- ) -> "ModelTrainer" :
1214
+ ) -> "ModelTrainer" : # noqa: D412
1215
1215
"""Set the remote debug configuration for the training job.
1216
1216
1217
1217
Example:
0 commit comments