Returns a new tensor with the ceil of the elements of input, the smallest integer greater than or equal to each element.
tch_ceil(x)
x | tensor object |
---|
#> tensor #> 0.4519 #> 0.5168 #> 0.6766 #> 0.8809 #> 0.7312 #> 0.3986 #> 0.4305 #> 0.1454 #> 0.4511 #> 0.5788 #> [ Variable[CPUFloatType]{10} ]tch_ceil(x)#> tensor #> 1 #> 1 #> 1 #> 1 #> 1 #> 1 #> 1 #> 1 #> 1 #> 1 #> [ Variable[CPUFloatType]{10} ]