mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Rewrite http://pytorch.org -> https://pytorch.org throughout project (#12636)
Summary: The pytorch.org site redirects all of the http:// requests to the https:// site anyway, so the comments and error messages might as well refer directly to the https:// site. The GitHub project description should also be updated to point to https://pytorch.org Pull Request resolved: https://github.com/pytorch/pytorch/pull/12636 Differential Revision: D10377099 Pulled By: soumith fbshipit-source-id: f47eaba1dd3eecc5dbe62afaf7022573dc3fd039
This commit is contained in:
parent
a6c7cf8741
commit
189c1e1afb
|
|
@ -3,7 +3,7 @@
|
|||
ATen is a simple tensor library thats exposes the Tensor operations in Torch
|
||||
and PyTorch directly in C++11. The wrapper respects the semantics of operators
|
||||
in PyTorch, except minor details due to differences between C++ and Python in
|
||||
the way default arguments are handled. See the [documentation for tensors](http://pytorch.org/docs/tensors.html) in PyTorch for what these operations do.
|
||||
the way default arguments are handled. See the [documentation for tensors](https://pytorch.org/docs/tensors.html) in PyTorch for what these operations do.
|
||||
ATen's API is auto-generated from the same declarations PyTorch uses so the
|
||||
two APIs will track each other over time.
|
||||
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ class LSTMInitializer(object):
|
|||
]
|
||||
|
||||
|
||||
# based on http://pytorch.org/docs/master/nn.html#torch.nn.RNNCell
|
||||
# based on https://pytorch.org/docs/master/nn.html#torch.nn.RNNCell
|
||||
class BasicRNNCell(RNNCell):
|
||||
def __init__(
|
||||
self,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ figures:
|
|||
@$(PYCMD) source/scripts/build_activation_images.py
|
||||
|
||||
docset: html
|
||||
doc2dash --name $(SPHINXPROJ) --icon $(SOURCEDIR)/_static/img/pytorch-logo-flame.png --enable-js --online-redirect-url http://pytorch.org/docs/ --force $(BUILDDIR)/html/
|
||||
doc2dash --name $(SPHINXPROJ) --icon $(SOURCEDIR)/_static/img/pytorch-logo-flame.png --enable-js --online-redirect-url https://pytorch.org/docs/ --force $(BUILDDIR)/html/
|
||||
|
||||
# Manually fix because Zeal doesn't deal well with `icon.png`-only at 2x resolution.
|
||||
cp $(SPHINXPROJ).docset/icon.png $(SPHINXPROJ).docset/icon@2x.png
|
||||
|
|
|
|||
|
|
@ -414,7 +414,7 @@ void fixDefaultRnnHiddenState(Block* b) {
|
|||
continue;
|
||||
}
|
||||
// Hidden state is the sixth input for RNN, LSTM, GRU.
|
||||
// See http://pytorch.org/docs/master/nn.html#torch.nn.RNN
|
||||
// See https://pytorch.org/docs/master/nn.html#torch.nn.RNN
|
||||
if (n->inputs().size() < 6) {
|
||||
continue;
|
||||
}
|
||||
|
|
@ -433,7 +433,7 @@ void fixDefaultLstmCellState(Block *b) {
|
|||
continue;
|
||||
}
|
||||
// Cell state is the seventh input for LSTM.
|
||||
// See http://pytorch.org/docs/master/nn.html#torch.nn.LSTM
|
||||
// See https://pytorch.org/docs/master/nn.html#torch.nn.LSTM
|
||||
if (n->inputs().size() < 7) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ http://www.nvidia.com/Download/index.aspx""")
|
|||
The NVIDIA driver on your system is too old (found version {}).
|
||||
Please update your GPU driver by downloading and installing a new
|
||||
version from the URL: http://www.nvidia.com/Download/index.aspx
|
||||
Alternatively, go to: http://pytorch.org to install
|
||||
Alternatively, go to: https://pytorch.org to install
|
||||
a PyTorch version that has been compiled with your version
|
||||
of the CUDA driver.""".format(str(torch._C._cuda_getDriverVersion())))
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ def _check_capability():
|
|||
Found GPU%d %s which requires CUDA_VERSION >= %d for
|
||||
optimal performance and fast startup time, but your PyTorch was compiled
|
||||
with CUDA_VERSION %d. Please install the correct PyTorch binary
|
||||
using instructions from http://pytorch.org
|
||||
using instructions from https://pytorch.org
|
||||
"""
|
||||
|
||||
old_gpu_warn = """
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ class NLLLoss2d(NLLLoss):
|
|||
reduce=None, reduction='elementwise_mean'):
|
||||
warnings.warn("NLLLoss2d has been deprecated. "
|
||||
"Please use NLLLoss instead as a drop-in replacement and see "
|
||||
"http://pytorch.org/docs/master/nn.html#torch.nn.NLLLoss for more details.")
|
||||
"https://pytorch.org/docs/master/nn.html#torch.nn.NLLLoss for more details.")
|
||||
super(NLLLoss2d, self).__init__(weight, size_average, ignore_index, reduce, reduction)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ class Tensor(torch._C._TensorBase):
|
|||
|
||||
raise RuntimeError(trim(r"""reinforce() was removed.
|
||||
Use torch.distributions instead.
|
||||
See http://pytorch.org/docs/master/distributions.html
|
||||
See https://pytorch.org/docs/master/distributions.html
|
||||
|
||||
Instead of:
|
||||
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ exits in a finite amount of time.
|
|||
|
||||
For more complicated uses of the profilers, please see
|
||||
https://docs.python.org/3/library/profile.html and
|
||||
http://pytorch.org/docs/master/autograd.html#profiler for more information.
|
||||
https://pytorch.org/docs/master/autograd.html#profiler for more information.
|
||||
""".strip()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user