code: def _put_sample(cp, size, i, val, signed=True):
      fmt = _struct_format(size, signed)
      struct.pack_into(fmt, cp, i * size, val)
  
imports: import math
  import struct
  from ctypes import create_string_buffer
label_desc: Use image node_id 7 for calling a global function with example usage: _put_sample(cp, size, i, val, signed) without return types