round

paddle.compat. round ( x, d=0 ) [source]

Compatible round which act the same behaviour in Python3.

Parameters

x (float) – The number to round halfway.

Returns

round result of x