¿Tengo una pregunta? Conéctese con la comunidad en el Foro de visita del foro de TensorFlow

tf.div

View source on GitHub

Divides x / y elementwise (using Python 2 division operator semantics). (deprecated)

This function divides x and y, forcing Python 2 semantics. That is, if x and y are both integers then the result will be an integer. This is in contrast to Python 3, where division with / is always a float while division with // is always an integer.

x Tensor numerator of real numeric type.
y Tensor denominator of real numeric type.
name A name for the operation (optional).

x / y returns the quotient of x and y.