Returns element-wise remainder of division.
tf.math.floormod(
x: Annotated[Any, tf.raw_ops.Any
],
y: Annotated[Any, tf.raw_ops.Any
],
name=None
) -> Annotated[Any, tf.raw_ops.Any
]
This follows Python semantics in that the
result here is consistent with a flooring divide. E.g.
floor(x / y) * y + floormod(x, y) = x
, regardless of the signs of x and y.
Returns | |
---|---|
A Tensor . Has the same type as x .
|