tf.math.floordiv

Divides x / y elementwise, rounding toward the most negative integer.

Mathematically, this is equivalent to floor(x / y). For example: floor(8.4 / 4.0) = floor(2.1) = 2.0 floor(-8.4 / 4.0) = floor(-2.1) = -3.0 This is equivalent to the '//' operator in Python 3.0 and above.

xTensor numerator of real numeric type.
yTensor denominator of real numeric type.
nameA name for the operation (optional).

x / y rounded toward -infinity.

TypeErrorIf the inputs are complex.