code: def get_length(fname):
      return tf.gfile.Stat(fname).length
  
file_path: tensor2tensor/tensor2tensor/data_generators/wikisum/validate_data.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import os
  import numpy
  import six
  from six.moves import zip
  from tensor2tensor.data_generators.wikisum import wikisum
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling a global function with example usage: get_length(fname) and returns: tf