pyarrow.ipc.get_tensor_size

pyarrow.ipc.get_tensor_size(Tensor tensor)

Return total size of serialized Tensor including metadata and padding.