We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6cfe5 commit 94be739Copy full SHA for 94be739
src/blosc2/core.py
@@ -621,6 +621,12 @@ def pack_tensor(
621
The serialized version (cframe) of the array.
622
If urlpath is provided, the number of bytes in file is returned instead.
623
624
+ Notes
625
+ -----
626
+
627
+ In case you pass a TensorFlow/PyTorch tensor, the tensor will be converted to a NumPy array
628
+ before being packed. The tensor will be restored to its original form when unpacked.
629
630
Examples
631
--------
632
>>> import numpy as np
0 commit comments