Source code for openrl.selfplay.base_strategy
import json
from abc import abstractmethod
[docs]class BaseSelfplayStrategy:
@abstractmethod
def __init__(self, all_args, nenvs, exist_enemy_num):
raise NotImplementedError
import json
from abc import abstractmethod
[docs]class BaseSelfplayStrategy:
@abstractmethod
def __init__(self, all_args, nenvs, exist_enemy_num):
raise NotImplementedError