code: def _integer_val_size(val_size, dataset_size):
      if isinstance(val_size, float):
          return int(val_size * dataset_size)
      return val_size
  
file_path: finetune/finetune/util/input_utils.py
imports: import math
  import tensorflow
  from finetune.util.timing import ProgressBar
label_desc: Use image node_id 1 for calling a global function with example usage: _integer_val_size(val_size, dataset_size) and returns: val_size, int