Fix lint errors.

This commit is contained in:
Gregory Chanan
2017-05-31 15:24:52 -07:00
committed by Soumith Chintala
parent 21d9b0c9dd
commit 7da46097fe
8 changed files with 67 additions and 51 deletions

View File

@ -1149,7 +1149,8 @@ Example::
.. function:: div(input, other, out=None)
Each element of the Tensor :attr:`input` is divided by each element of the Tensor :attr:`other`.
The resulting Tensor is returned. The shapes of :attr:`input` and :attr:`other` must be :ref:`broadcastable <broadcasting-semantics>`.
The resulting Tensor is returned. The shapes of :attr:`input` and :attr:`other` must be
:ref:`broadcastable <broadcasting-semantics>`.
:math:`out_i = input_i / other_i`
@ -2201,7 +2202,8 @@ and an element-wise `max` is taken.
The shapes of :attr:`input` and :attr:`other` don't need to match,
but they must be :ref:`broadcastable <broadcasting-semantics>`.
.. note:: When the shapes do not match, the shape of the returned output tensor follows the :ref:`broadcasting rules <broadcasting-semantics>`.
.. note:: When the shapes do not match, the shape of the returned output tensor follows the
:ref:`broadcasting rules <broadcasting-semantics>`.
:math:`out_i = max(tensor_i, other_i)`
@ -2436,7 +2438,8 @@ and an element-wise `min` is taken. The resulting Tensor is returned.
The shapes of :attr:`input` and :attr:`other` don't need to match,
but they must be :ref:`broadcastable <broadcasting-semantics>`.
.. note:: When the shapes do not match, the shape of the returned output tensor follows the :ref:`broadcasting rules <broadcasting-semantics>`.
.. note:: When the shapes do not match, the shape of the returned output tensor follows the
:ref:`broadcasting rules <broadcasting-semantics>`.
:math:`out_i = min(tensor_i, other_i)`