code: def generate_dense(size):
      nnz = size // 8
      return np.random.default_rng().uniform(
          low=0, high=1.0, size=(1, nnz)
      )
  
imports: from .common import set_mem_rlimit, run_monitored, get_mem_info
  from io import BytesIO, StringIO
  import os
  import tempfile
  import numpy
  from .common import Benchmark, safe_import
label_desc: Use image node_id 3 for calling a global function with example usage: generate_dense(size) and returns: np