Histc
torch_histc(self, bins = 100L, min = 0L, max = 0L)
self | (Tensor) the input tensor. |
---|---|
bins | (int) number of histogram bins |
min | (int) lower end of the range (inclusive) |
max | (int) upper end of the range (inclusive) |
Computes the histogram of a tensor.
The elements are sorted into equal width bins between min
and
max
. If min
and max
are both zero, the minimum and
maximum values of the data are used.
#> torch_tensor #> 0 #> 2 #> 1 #> 0 #> [ CPUFloatType{4} ]