from rl4net.agents import DRLBase
from rl4net.nets import DQNNet
from rl4net.utils import ReplayBuffer
agent = DRLBase.builder()
print(agent.valid)
agent = DRLBase.builder(device='cpu').set_n_actions(3).set_n_states(4
    ).set_nets(DQNNet(4, 3), DQNNet(4, 3)).set_replay_buff_by_class(
    ReplayBuffer)
print(agent.valid)

9bbafb6c78bb2c027e485eb15681b6de89e5d698
<mask token>

<mask token>
print(agent.valid)
<mask token>
print(agent.valid)

<mask token>
agent = DRLBase.builder()
print(agent.valid)
agent = DRLBase.builder(device='cpu').set_n_actions(3).set_n_states(4
    ).set_nets(DQNNet(4, 3), DQNNet(4, 3)).set_replay_buff_by_class(
    ReplayBuffer)
print(agent.valid)

from rl4net.agents import DRLBase
from rl4net.nets import DQNNet
from rl4net.utils import ReplayBuffer
agent = DRLBase.builder()
print(agent.valid)
agent = DRLBase.builder(device='cpu').set_n_actions(3).set_n_states(4
    ).set_nets(DQNNet(4, 3), DQNNet(4, 3)).set_replay_buff_by_class(
    ReplayBuffer)
print(agent.valid)
