docstr: :param B: total budget for phase 2
  :param U: mini unit computation for each modle
  :param candidates_m:
  :return:
docstr_tok: [":","param","B",":","total","budget","for","phase","2",":","param","U",":","mini","unit","computation","for","each","modle",":","param","candidates_m",":",":","return",":"]
code: def pre_calculate_epoch_required(self, K, U):
      """
      :param B: total budget for phase 2
      :param U: mini unit computation for each modle
      :param candidates_m:
      :return:
      """
      return K * U
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/eva_engine/phase2/run_uniform.py
imports: from copy import copy
  from random import randint
  from src.common.constant import Config
label_desc: Use image node_id 3 for calling the UniformAllocation obj's underlying member method code with example usage: obj.pre_calculate_epoch_required(K, U) and returns: unknown