@classmethod
    def of(cls, value):
        if isinstance(value, ConfigSource):
            return value
        elif isinstance(value, dict):
            return ConfigSource(value)
        else:
            raise TypeError(u'source value must be a dict')
Trains the network
dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/ConfigSource.of--crossover with--dataset/ETHPy150Open sisl/Chimp/chimp/agents/dqn_agent.py/DQNAgent.train