code: def test_tensor_size():
      data = np.random.randn(10, 4)
      tensor = pa.Tensor.from_numpy(data)
      assert pa.ipc.get_tensor_size(tensor) > (data.size * 8)
  
file_path: arrow/python/pyarrow/tests/test_tensor.py
imports: import os
  import sys
  import pytest
  import warnings
  import weakref
  import numpy
  import pyarrow
label_desc: Use image node_id 9 for calling a global function with example usage: test_tensor_size() without return types