Unverified Commit 54631f82 authored by Lukas Geiger's avatar Lukas Geiger Committed by GitHub
Browse files

[Misc] Call `ndarray.tobytes()` directly instead of `ndarray.data.tobytes()` (#18347)


Signed-off-by: default avatarLukas Geiger <lukas.geiger94@gmail.com>
parent cb506ecb
......@@ -43,7 +43,7 @@ class MultiModalHasher:
"ndarray", {
"dtype": obj.dtype.str,
"shape": obj.shape,
"data": obj.data.tobytes(),
"data": obj.tobytes(),
})
logger.warning(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment