Commit eeabcaff authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

`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
parent ee7f8d97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment