pyarrow.ipc.get_tensor_size

pyarrow.ipc.get_tensor_size(Tensor tensor)

Return total size of serialized Tensor including metadata and padding.

Parameters:
tensorTensor

The tensor for which we want to known the size.