code: def get_square(dtype):
      values = get_values()
      arr = values.astype(dtype=dtype).reshape((nx, ny))
  
      # adjust complex ones to have non-degenerated imagery part -- use
      # original data transposed for that
      if arr.dtype.kind == "c":
          arr += arr.T * 1j
  
      return arr
  
file_path: numpy/benchmarks/benchmarks/common.py
imports: import numpy
  import random
  import os
  from functools import lru_cache
  from pathlib import Path
label_desc: Use image node_id 2 for calling a global function with example usage: get_square(dtype) and returns: arr