You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert IFRT's kString dtype to NumPy's variable length string dtype.
Previously, `xla::ifrt::DType::kString` would be translated to
`NPY_OBJECT`. NumPy 2.0 has introduced a variable length string type,
`NPY_VSTRING`, so convert to that when available. This is consistent
with `xla::DtypeToIfRtDType`, which performs the opposite translation.
PiperOrigin-RevId: 813472617
0 commit comments