summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVishwak Srinivasan <cs15btech11043@iith.ac.in>2018-04-05 23:58:37 +0530
committerEdward Z. Yang <ezyang@mit.edu>2018-04-05 14:28:37 -0400
commit0aa35780bfade6bf9c428f1ae45426caa8a7df93 (patch)
tree6a1c1075cfbfa1f68044690c7861512ccc4839b5 /docs
parent8ae67a444506a838e648aa60f9eb6a4da22c9b06 (diff)
downloadpytorch-0aa35780bfade6bf9c428f1ae45426caa8a7df93.tar.gz
pytorch-0aa35780bfade6bf9c428f1ae45426caa8a7df93.tar.bz2
pytorch-0aa35780bfade6bf9c428f1ae45426caa8a7df93.zip
[ready] Implement log2 and log10 in PyTorch (#6272)
* Implemented log2 and log10 * Re-add incorrectly removed files * Fix minor bugs * Fix log1p docs * Add a try-except for python2 math module in log2 test * Revert changes made to aten/doc/* * Fix docstring errors * Fix windows build
Diffstat (limited to 'docs')
-rw-r--r--docs/source/tensors.rst6
-rw-r--r--docs/source/torch.rst2
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/source/tensors.rst b/docs/source/tensors.rst
index bb55dbaf31..38d6f23f68 100644
--- a/docs/source/tensors.rst
+++ b/docs/source/tensors.rst
@@ -202,10 +202,14 @@ view of a storage and defines numeric operations on it.
.. automethod:: lerp
.. automethod:: lerp_
.. automethod:: log
+ .. automethod:: log_
.. automethod:: logdet
+ .. automethod:: log10
+ .. automethod:: log10_
.. automethod:: log1p
.. automethod:: log1p_
- .. automethod:: log_
+ .. automethod:: log2
+ .. automethod:: log2_
.. automethod:: log_normal_
.. automethod:: long
.. automethod:: lt
diff --git a/docs/source/torch.rst b/docs/source/torch.rst
index dafde6c829..0b4f506c86 100644
--- a/docs/source/torch.rst
+++ b/docs/source/torch.rst
@@ -115,7 +115,9 @@ Pointwise Ops
.. autofunction:: frac
.. autofunction:: lerp
.. autofunction:: log
+.. autofunction:: log10
.. autofunction:: log1p
+.. autofunction:: log2
.. autofunction:: mul
.. autofunction:: neg
.. autofunction:: pow