Skip to content

Commit d790884

Browse files
committed
attempt to fix formatting
1 parent e2eb318 commit d790884

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sagemaker/mxnet/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ We recommend using an `argument parser <https://docs.python.org/3.5/howto/argpar
603603
Using the ``argparse`` library as an example, this part of the code would look something like this:
604604

605605
.. code:: python
606+
606607
parser = argparse.ArgumentParser()
607608
608609
# hyperparameters sent by the client are passed as command-line arguments to the script.
@@ -624,6 +625,7 @@ Note now that saving the model will not be done by default; this must be done by
624625
If you were previously relying on the default save method, here is one you can copy into your code:
625626

626627
.. code:: python
628+
627629
def save(model_dir, model):
628630
model.symbol.save(os.path.join(model_dir, 'model-symbol.json'))
629631
model.save_params(os.path.join(model_dir, 'model-0000.params'))

0 commit comments

Comments
 (0)