code: def _nested_codepoints(x):
      """Replace each string in a nested list with a list of its codepoints."""
      # Works for Python 2 and 3, and for both UCS2 and UCS4 builds
      if isinstance(x, list):
          return [_nested_codepoints(v) for v in x]
      else:
          b = list(x.encode("utf-32-be"))
          if any(isinstance(c, str) for c in b):
              b = [ord(c) for c in b]
          return [
              (b0 << 24) + (b1 << 16) + (b2 << 8) + b3
              for b0, b1, b2, b3 in zip(
                  b[::4], b[1::4], b[2::4], b[3::4]
              )
          ]
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling a global function with example usage: _nested_codepoints(x) and returns: unknown, unknown