def determine_batch(val1,val_list =[32,64,128,256]):
  """Function utilized to determine suitable batch size
    Args:
       val1: Input batch size
       val_list: A list for candidiate batch size

    Output:
        result(list): A value for suitable batch size to avoid errors in batch correction.
  """
  for i in val_list:
    if val1%i !=1:
      return i
    else:
      continue
  return val1