(Tensor) the input tensor.
(float or Tensor) a scalar or 1D tensor of quantile values in the range
(int) the dimension to reduce.
(bool) whether the output tensor has
The interpolation method.
Returns the q-th quantiles of all elements in the
input tensor, doing a linear
interpolation when the q-th quantile lies between two data points.
Returns the q-th quantiles of each row of the
input tensor along the dimension
dim, doing a linear interpolation when the q-th quantile lies between two
data points. By default,
None resulting in the
being flattened before computation.
TRUE, the output dimensions are of the same size as
except in the dimensions being reduced (
dim or all if
NULL) where they
have size 1. Otherwise, the dimensions being reduced are squeezed (see
q is a 1D tensor, an extra dimension is prepended to the output tensor with the same
q which represents the quantiles.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.