Esempio n. 1
0
def generate_knob(action, method):
    if method == 'ddpg':
        # 根据DDPG,更新KNOB的函数
        return environment.gen_continuous(action)
    else:
        raise NotImplementedError('Not Implemented')
Esempio n. 2
0
def generate_knob(action, method):
    if method == 'ddpg':
        return environment.gen_continuous(action)
    else:
        raise NotImplementedError()
 def generate_knob(action):
     return environment.gen_continuous(action)