code: def write_record(filename, record, append=True):
      return dataset_module.write_record(filename, record, append)
  
imports: import logging
  import os
  import tensorflow
  from tensorflow.python.framework.errors import NotFoundError
  import tf_encrypted
label_desc: Use image node_id 2 for calling a global function with example usage: write_record(filename, record, append) and returns: dataset_module