(output_data, output_path)
Save output_data to the pickle at output_path.
Save output_data to the pickle at output_path.
Save output_data to the pickle at output_path .
def write_pkl(output_data, output_path):
  """Save output_data to the pickle at output_path."""
  with tf.io.gfile.GFile(output_path, 'wb') as f:
    pkl.dump(output_data, f, protocol=pkl.HIGHEST_PROTOCOL)
  logging.info('Dumped data with keys: %s to location %s',
               list(output_data.keys()), output_path)
def write_pkl ( output_data , output_path ) : with tf . io . gfile . GFile ( output_path , 'wb' ) as f : pkl . dump ( output_data , f , protocol = pkl . HIGHEST_PROTOCOL ) logging . info ( 'Dumped data with keys: %s to location %s' , list ( output_data . keys ( ) ) , output_path )