@@ -207,7 +207,8 @@ def __init__(
207
207
:class:`~sagemaker.debugger.Rule` objects used to define
208
208
rules for continuous analysis with SageMaker Debugger
209
209
(default: ``None``). For more, see
210
- https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html#continuous-analyses-through-rules
210
+ https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html#
211
+ continuous-analyses-through-rules
211
212
debugger_hook_config (:class:`~sagemaker.debugger.DebuggerHookConfig` or bool):
212
213
Configuration for how debugging information is emitted with
213
214
SageMaker Debugger. If not specified, a default one is created using
@@ -218,24 +219,34 @@ def __init__(
218
219
tensorboard_output_config (:class:`~sagemaker.debugger.TensorBoardOutputConfig`):
219
220
Configuration for customizing debugging visualization using TensorBoard
220
221
(default: ``None``). For more, see
221
- https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html#capture-real-time-tensorboard-data-from-the-debugging-hook
222
+ https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_debugger.html#
223
+ capture-real-time-tensorboard-data-from-the-debugging-hook
222
224
enable_sagemaker_metrics (bool): Enables SageMaker Metrics Time
223
225
Series. For more information see:
224
- https://docs.aws.amazon.com/sagemaker/latest/dg/API_AlgorithmSpecification.html#SageMaker-Type-AlgorithmSpecification-EnableSageMakerMetricsTimeSeries
226
+ https://docs.aws.amazon.com/sagemaker/latest/dg/API_AlgorithmSpecification.html#
227
+ SageMaker-Type-AlgorithmSpecification-EnableSageMakerMetricsTimeSeries
225
228
(default: ``None``).
226
229
enable_network_isolation (bool): Specifies whether container will
227
230
run in network isolation mode (default: ``False``). Network
228
231
isolation mode restricts the container access to outside networks
229
232
(such as the Internet). The container does not make any inbound or
230
233
outbound network calls. Also known as Internet-free mode.
231
234
"""
232
- instance_count = renamed_kwargs ("train_instance_count" , instance_count , kwargs )
233
- instance_type = renamed_kwargs ("train_instance_type" , instance_type , kwargs )
234
- max_run = renamed_kwargs ("train_max_run" , max_run , kwargs )
235
- use_spot_instances = renamed_kwargs ("train_use_spot_instances" , use_spot_instances , kwargs )
236
- max_wait = renamed_kwargs ("train_max_run_wait" , max_wait , kwargs )
237
- volume_size = renamed_kwargs ("train_volume_size" , volume_size , kwargs )
238
- volume_kms_key = renamed_kwargs ("train_volume_kms_key" , volume_kms_key , kwargs )
235
+ instance_count = renamed_kwargs (
236
+ "train_instance_count" , "instance_count" , instance_count , kwargs
237
+ )
238
+ instance_type = renamed_kwargs (
239
+ "train_instance_type" , "instance_type" , instance_type , kwargs
240
+ )
241
+ max_run = renamed_kwargs ("train_max_run" , "max_run" , max_run , kwargs )
242
+ use_spot_instances = renamed_kwargs (
243
+ "train_use_spot_instances" , "use_spot_instances" , use_spot_instances , kwargs
244
+ )
245
+ max_wait = renamed_kwargs ("train_max_run_wait" , "max_wait" , max_wait , kwargs )
246
+ volume_size = renamed_kwargs ("train_volume_size" , "volume_size" , volume_size , kwargs )
247
+ volume_kms_key = renamed_kwargs (
248
+ "train_volume_kms_key" , "volume_kms_key" , volume_kms_key , kwargs
249
+ )
239
250
240
251
if instance_count is None or instance_type is None :
241
252
raise ValueError ("Both instance_count and instance_type are required." )
0 commit comments