code: def _generateBenchmarkInput(self, size):
      chars = []
      i = 0
      offset = 0
      continuity_size = 20
      while i < size:
          chars.append(ord("a") + offset)
          i += 1
          offset += 1
          if i % continuity_size == 0:
              offset += 100
              if offset > 0x1F940:
                  offset = 0
  
      return chars
  
file_path: tensorflow/tensorflow/python/kernel_tests/strings_ops/unicode_script_op_test.py
imports: from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the UnicodeScriptBenchmarks obj's underlying member method code with example usage: obj._generateBenchmarkInput(size) and returns: chars