`tf.py_func`: Handle NumPy arrays of np.object that hold unicode strings.
This also fixes a bug affecting `tf.data.Dataset.from_generator()` on Python 3, where the generator yields Unicode (i.e. default) strings. PiperOrigin-RevId: 172798007
Loading
Please sign in to comment