2021-09-22 18:49:41 -07:00
|
|
|
|
2021-08-02 01:47:14 -07:00
|
|
|
.. _sgd-api:
|
|
|
|
|
|
|
|
RaySGD API
|
2021-09-14 09:07:25 -07:00
|
|
|
==========
|
|
|
|
|
|
|
|
.. _sgd-api-trainer:
|
2021-08-02 01:47:14 -07:00
|
|
|
|
2021-09-14 09:07:25 -07:00
|
|
|
Trainer
|
|
|
|
-------
|
2021-08-02 01:47:14 -07:00
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.Trainer
|
2021-08-02 01:47:14 -07:00
|
|
|
:members:
|
|
|
|
|
2021-09-14 09:07:25 -07:00
|
|
|
.. _sgd-api-iterator:
|
|
|
|
|
|
|
|
SGDIterator
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.SGDIterator
|
2021-09-14 09:07:25 -07:00
|
|
|
:members:
|
|
|
|
|
|
|
|
.. _sgd-api-backend-config:
|
|
|
|
|
|
|
|
BackendConfig
|
|
|
|
-------------
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.BackendConfig
|
2021-08-02 01:47:14 -07:00
|
|
|
|
2021-09-14 09:07:25 -07:00
|
|
|
.. _sgd-api-torch-config:
|
|
|
|
|
|
|
|
TorchConfig
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.TorchConfig
|
2021-08-02 01:47:14 -07:00
|
|
|
|
2021-09-14 09:07:25 -07:00
|
|
|
.. _sgd-api-tensorflow-config:
|
|
|
|
|
|
|
|
TensorflowConfig
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.TensorflowConfig
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
.. _sgd-api-horovod-config:
|
|
|
|
|
|
|
|
HorovodConfig
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.HorovodConfig
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
.. _sgd-api-callback:
|
|
|
|
|
|
|
|
SGDCallback
|
|
|
|
-----------
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.SGDCallback
|
2021-09-14 09:07:25 -07:00
|
|
|
:members:
|
|
|
|
|
|
|
|
.. _sgd-api-json-logger-callback:
|
|
|
|
|
|
|
|
JsonLoggerCallback
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.JsonLoggerCallback
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
.. _sgd-api-tbx-logger-callback:
|
|
|
|
|
|
|
|
TBXLoggerCallback
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.TBXLoggerCallback
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
.. _sgd-api-checkpoint-strategy:
|
|
|
|
|
|
|
|
CheckpointStrategy
|
|
|
|
------------------
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autoclass:: ray.sgd.CheckpointStrategy
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
Training Function Utilities
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
sgd.report
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autofunction:: ray.sgd.report
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
sgd.load_checkpoint
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autofunction:: ray.sgd.load_checkpoint
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
sgd.save_checkpoint
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autofunction:: ray.sgd.save_checkpoint
|
2021-09-14 09:07:25 -07:00
|
|
|
|
|
|
|
sgd.world_rank
|
|
|
|
~~~~~~~~~~~~~~
|
|
|
|
|
2021-09-22 18:49:41 -07:00
|
|
|
.. autofunction:: ray.sgd.world_rank
|