dqfd.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:pysc2-examples 作者: chris-chris 项目源码 文件源码
def load(path, act_params, num_cpu=16):
  """Load act function that was returned by learn function.

Parameters
----------
path: str
    path to the act function pickle
num_cpu: int
    number of cpus to use for executing the policy

Returns
-------
act: ActWrapper
    function that takes a batch of observations
    and returns actions.
"""
  return ActWrapper.load(path, num_cpu=num_cpu, act_params=act_params)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号