code: def write_floats(self, output, floats):
      format = "f" if self.is_float() else "d"
      output.write(b"".join([struct.pack(format, x) for x in floats]))
  
imports: import sys
  import argparse
  import struct
  import os
  from collections import OrderedDict
label_desc: Use image node_id 4 for calling the Converter obj's underlying member method code with example usage: obj.write_floats(output, floats) without return types