AlphaZero_Gomoku icon indicating copy to clipboard operation
AlphaZero_Gomoku copied to clipboard

TensorFlow input_states有些疑问

Open MaybeChow1991 opened this issue 4 years ago • 1 comments

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

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

MaybeChow1991 avatar Mar 23 '20 14:03 MaybeChow1991

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

image

cloxnu avatar Mar 24 '20 07:03 cloxnu