pyarrow.ipc.write_tensor

pyarrow.ipc.write_tensor(Tensor tensor, NativeFile dest)

Write pyarrow.Tensor to pyarrow.NativeFile object its current position.

Parameters
Returns

bytes_written (int) – Total number of bytes written to the file