pyarrow.ipc.write_tensor#

pyarrow.ipc.write_tensor(Tensortensor,NativeFiledest)#

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