pyarrow.ipc.write_tensorยถ

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

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

Parameters:
tensorpyarrow.Tensor
destpyarrow.NativeFile
Returns:
bytes_writtenint

Total number of bytes written to the file