Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoestq committed Oct 25, 2024
1 parent 12d5197 commit cfef85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/arrow_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _get_output_signature(
tf_dtype = tf.float32
np_dtype = np.float32
elif np_arrays[0].dtype.kind == "U": # Unicode strings
np_dtype = np.unicode_
np_dtype = np.str_
tf_dtype = tf.string
else:
raise RuntimeError(
Expand Down

0 comments on commit cfef85e

Please sign in to comment.