Returns the minimum value of all elements in the x tensor.
tch_min(x, dim = NULL, keepdim = FALSE, other = NULL)
Arguments
x |
tensor object |
dim |
the dimension to reduce |
keepdim |
wether to keep or not the dim |
other |
a tensor. |
Examples
#> tensor
#> 0.000957943
#> [ Variable[CPUFloatType]{} ]