code: def test_memory_usage():
      s1 = cudf.Series([[1, 2], [3, 4]])
      assert s1.memory_usage() == 44
      s2 = cudf.Series([[[[1, 2]]], [[[3, 4]]]])
      assert s2.memory_usage() == 68
      s3 = cudf.Series([[{"b": 1, "a": 10}, {"b": 2, "a": 100}]])
      assert s3.memory_usage() == 40
  
imports: import functools
  import operator
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf import NA
  from cudf._lib.copying import get_element
  from cudf.api.types import is_scalar
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 43 for calling a global function with example usage: test_memory_usage() without return types