def load(path, num_cpu=16):
    'Load act function that was returned by learn function.\n\n    Parameters\n    ----------\n    path: str\n        path to the act function pickle\n    num_cpu: int\n        number of cpus to use for executing the policy\n\n    Returns\n    -------\n    act: ActWrapper\n        function that takes a batch of observations\n        and returns actions.\n    '
    return ActWrapper.load(path, num_cpu=num_cpu)
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.
def load(path, num_cpu=16):
    'Load act function that was returned by learn function.\n\n    Parameters\n    ----------\n    path: str\n        path to the act function pickle\n    num_cpu: int\n        number of cpus to use for executing the policy\n\n    Returns\n    -------\n    act: ActWrapper\n        function that takes a batch of observations\n        and returns actions.\n    '
    return ActWrapper.load(path, num_cpu=num_cpu)