code: def model_size(variables):
      """Get model size."""
      total_params = sum(
          [
              np.prod(var.shape.as_list()) * var.dtype.size
              for var in variables
          ]
      )
      return hfsize.size(total_params, system=hfsize.alternative)
  
file_path: delta/delta/utils/model.py
imports: import os
  import numpy
  import hurry.filesize
  from absl import logging
  import delta.compat
  from tensorflow.python.framework import graph_util
label_desc: Use image node_id 2 for calling a global function with example usage: model_size(variables) and returns: hfsize