From 98ab09ceed375cab2747771b983c7dd59259930d Mon Sep 17 00:00:00 2001 From: vfdev-5 Date: Sun, 21 Jun 2020 22:56:30 +0200 Subject: [PATCH 1/2] Fixed bad link on teaser --- docs/source/index.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index b1d9587d76e9..e2d16bca7bcf 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -3,13 +3,9 @@ Ignite Your Networks! :mod:`ignite` is a high-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently. -.. .. image:: https://raw.githubusercontent.com/pytorch/ignite/master/assets/tldr/pytorch-ignite-teaser.gif +.. image:: https://raw.githubusercontent.com/pytorch/ignite/master/assets/tldr/pytorch-ignite-teaser.gif :width: 460 - :target: https://raw.githubusercontent.com/pytorch/ignite/master/assets/tldr/teaser.py--> - -.. image:: https://raw.githubusercontent.com/vfdev-5/ignite/tldr/assets/tldr/pytorch-ignite-teaser.gif - :width: 460 - :target: https://github.com/vfdev-5/ignite/blob/tldr/assets/tldr/teaser.py + :target: https://raw.githubusercontent.com/pytorch/ignite/master/assets/tldr/teaser.py *Click on the image to see complete code* From b1963d3a571a4174674745e206dec4d36416144a Mon Sep 17 00:00:00 2001 From: vfdev-5 Date: Sun, 21 Jun 2020 23:15:24 +0200 Subject: [PATCH 2/2] Added manual_seed into docs --- ignite/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignite/utils.py b/ignite/utils.py index fbb7ec50096d..cfc4914f1581 100644 --- a/ignite/utils.py +++ b/ignite/utils.py @@ -5,7 +5,7 @@ import torch -__all__ = ["convert_tensor", "apply_to_tensor", "apply_to_type", "to_onehot", "setup_logger"] +__all__ = ["convert_tensor", "apply_to_tensor", "apply_to_type", "to_onehot", "setup_logger", "manual_seed"] def convert_tensor(