<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/ops/numpy_ops/np_utils.py#L564-L569) |

TensorFlow variant of NumPy's `promote_types`.

    tf.experimental.numpy.promote_types(
        type1, type2
    )

See the NumPy documentation for [`numpy.promote_types`](https://numpy.org/doc/stable/reference/generated/numpy.promote_types.html).