coach icon indicating copy to clipboard operation
coach copied to clipboard

Masking illegal actions

Open davidADSP opened this issue 4 years ago • 2 comments

Is there any interface for masking illegal actions?

Ideally, I'd like the agent network to only apply the softmax over the set of legal moves (which can be calculated as function of the current state) and set all other action probabilities to zero (e.g. you cannot play on top of an existing marker in tic tac toe).

davidADSP avatar Aug 20 '19 23:08 davidADSP