bytearray(tensor) behaves very differently from bytearray(tensor.numpy()) #33041
Labels
module: numpy
Related to numpy support, and also numpy compatibility of our operators
module: printing
Issues related to the printing format of tensors
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
I thought this is the Python prescribed interface of getting byte representation of some object, but this fails with PyTorch arrays. My goal is to pass the obtained byte array or byte string to webrtcvad method working with audio byte frames.
Related: https://discuss.pytorch.org/t/getting-tensor-raw-data/18961/2
cc @mruberry @rgommers @heitorschueroff
The text was updated successfully, but these errors were encountered: