pyarrow.get_tensor_size

pyarrow.get_tensor_size(Tensor tensor)

Return total size of serialized Tensor including metadata and padding