Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TensorFlow input_states有些疑问 #101

Open
MaybeChow1991 opened this issue Mar 23, 2020 · 1 comment
Open

TensorFlow input_states有些疑问 #101

MaybeChow1991 opened this issue Mar 23, 2020 · 1 comment

Comments

@MaybeChow1991
Copy link

self.input_states = tf.placeholder(
tf.float32, shape=[None, 4, board_height, board_width],name="input_states")

第二的参数为什么是4,代表着什么?按道理不是应该是3(3种情况,玩家1,玩家2,未下),有人可以帮我解答一下吗?

@cloxnu
Copy link

cloxnu commented Mar 24, 2020

1: 当前玩家落子
2: 对方玩家落子
3: 上一步落子
4: 当前玩家,全是 0 or 1

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants