Round each element of float tensor Z away from zero
(sign(Z) * ceil(abs(Z))).
Input
tensor([-2.3000, 2.3000, -0.5000, 0.5000, 3.0000, -7.1000])
Output
tensor([-3., 3., -1., 1., 3., -8.])
Sign in to write and run your own code.
solve(...)