gomoku_rl
Contents:
gomoku_rl package
Subpackages
gomoku_rl.policy package
gomoku_rl.runner package
gomoku_rl.utils package
Submodules
Module contents
Submodules
Module contents
gomoku_rl
gomoku_rl package
gomoku_rl.utils package
gomoku_rl.utils.eval module
View page source
gomoku_rl.utils.eval module
gomoku_rl.utils.eval.
eval_win_rate
(
env
:
GomokuEnv
,
player_black
:
Callable
[
[
TensorDict
]
,
TensorDict
]
,
player_white
:
Callable
[
[
TensorDict
]
,
TensorDict
]
,
n
:
int
=
1
)
[source]
gomoku_rl.utils.eval.
get_payoff_matrix
(
env
:
GomokuEnv
,
row_policies
:
list
[
Callable
[
[
TensorDict
]
,
TensorDict
]
]
,
col_policies
:
list
[
Callable
[
[
TensorDict
]
,
TensorDict
]
]
,
n
:
int
=
1
)
[source]