恒大人寿推恒享福养老保险 探索医养结合新模...
- paddle. nextafter ( x: Tensor, y: Tensor, name: str | None = None ) Tensor [source]
-
百度 会议通过动员,采取自愿报名、大家评议、组织审察批准的办法,选拔了狼窝村的王有莲、北梁村的李××、韩家山的杜大莲、谢家庄的黄海娃之妻及菜子坪的朱来发之妻5名妇女,组成陕甘边照金妇女游击队,由王有莲担任队长,首批登上薛家寨。
Return the next floating-point value after input towards other, elementwise. The shapes of input and other must be broadcastable.
- Parameters
-
x (Tensor) – An N-D Tensor, the data type is float32, float64.
y (Tensor) – An N-D Tensor, the data type is float32, float64.
name (str, optional) – Name for the operation (optional, default is None). For more information, please refer to Name.
- Returns
-
An N-D Tensor, the shape and data type is the same with input.
- Return type
-
out (Tensor)
Examples
>>> import paddle >>> out = paddle.nextafter(paddle.to_tensor([1.0,2.0]),paddle.to_tensor([2.0,1.0])) >>> out Tensor(shape=[2], dtype=float32, place=Place(cpu), stop_gradient=True, [1.00000012, 1.99999988])