Skip to content

Commit 85f9039

Browse files
author
Chuyang Deng
committed
doc: improve docstring and remove unavailable links
1 parent 2416254 commit 85f9039

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/sagemaker/pytorch/estimator.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ def __init__(
8383
py_version (str): Python version you want to use for executing your
8484
model training code (default: 'py3'). One of 'py2' or 'py3'.
8585
framework_version (str): PyTorch version you want to use for
86-
executing your model training code. List of supported versions
87-
https://github.com/aws/sagemaker-python-sdk#pytorch-sagemaker-estimators.
88-
If not specified, this will default to 0.4.
86+
executing your model training code. If not specified, this will default
87+
to 0.4.
8988
image_name (str): If specified, the estimator will use this image
9089
for training and hosting, instead of selecting the appropriate
9190
SageMaker official image based on framework_version and

src/sagemaker/s3.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ def upload(local_path, desired_s3_uri, kms_key=None, session=None):
5757
"""Static method that uploads a given file or directory to S3.
5858
5959
Args:
60-
local_path (str): A local path to a file or directory.
61-
desired_s3_uri (str): The desired S3 uri to upload to.
60+
local_path (str): Path (absolute or relative) of local file or directory to upload.
61+
desired_s3_uri (str): The desired S3 location to upload to. It is the prefix to
62+
which the local filename will be added.
6263
kms_key (str): The KMS key to use to encrypt the files.
6364
session (sagemaker.session.Session): Session object which
6465
manages interactions with Amazon SageMaker APIs and any other

src/sagemaker/tensorflow/estimator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,7 @@ def __init__(
237237
py_version (str): Python version you want to use for executing your model training
238238
code (default: 'py2').
239239
framework_version (str): TensorFlow version you want to use for executing your model
240-
training code. List of supported versions
241-
https://github.com/aws/sagemaker-python-sdk#tensorflow-sagemaker-estimators.
242-
If not specified, this will default to 1.11.
240+
training code. If not specified, this will default to 1.11.
243241
model_dir (str): S3 location where the checkpoint data and models can be exported to
244242
during training (default: None). It will be passed in the training script as one of
245243
the command line arguments. If not specified, one is provided based on

0 commit comments

Comments
 (0)