File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 178178Performs the element-wise division of :attr:`tensor1` by :attr:`tensor2`,
179179multiply the result by the scalar :attr:`value` and add it to :attr:`tensor`.
180180
181- The number of elements must match, but sizes do not matter.
181+ The shapes of :attr:`tensor`, :attr:`tensor1`, and :attr:`tensor2` must be
182+ :ref:`broadcastable <broadcasting-semantics>`.
182183
183184For inputs of type `FloatTensor` or `DoubleTensor`, :attr:`value` must be a real number, otherwise an integer
184185
209210by :attr:`tensor2`, multiply the result by the scalar :attr:`value`
210211and add it to :attr:`tensor`.
211212
212- The number of elements must match, but sizes do not matter.
213+ The shapes of :attr:`tensor`, :attr:`tensor1`, and :attr:`tensor2` must be
214+ :ref:`broadcastable <broadcasting-semantics>`.
213215
214216For inputs of type `FloatTensor` or `DoubleTensor`, :attr:`value` must be a real number, otherwise an integer
215217
You can’t perform that action at this time.
0 commit comments