mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
clarified language of doc for torch.mul (#15664)
Summary: see issue #15636 Please note - I build the documents but the HTML is not updated with the edited content. I did not also build the fork. Pull Request resolved: https://github.com/pytorch/pytorch/pull/15664 Differential Revision: D13571310 Pulled By: soumith fbshipit-source-id: d43be0f61705693d778cc12c13e86d6b06130ac7
This commit is contained in:
committed by
Facebook Github Bot
parent
a923ea7cf0
commit
2d8f14cd12
@ -3023,8 +3023,8 @@ Example::
|
||||
|
||||
.. function:: mul(input, other, out=None)
|
||||
|
||||
Each element of the tensor :attr:`input` is multiplied by each element of the
|
||||
Tensor :attr:`other`. The resulting tensor is returned.
|
||||
Each element of the tensor :attr:`input` is multiplied by the corresponding
|
||||
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>`.
|
||||
|
Reference in New Issue
Block a user