torch._foreach_floor(self)
Paddle 无此 API,需要组合实现。
# PyTorch 写法 torch._foreach_floor(tensors) # Paddle 写法 [paddle.floor(x) for x in tensors]