pytorch / ELF

ELF: a platform for game research with AlphaGoZero/AlphaZero reimplementation
Other
3.37k stars 567 forks source link

Fix half precision model. #78

Closed jma127 closed 6 years ago

jma127 commented 6 years ago

Removes an unnecessary conversion between float to half to float. This allows BN layer to work as desired without loss of precision, which should hopefully mitigate any inf/nan issues on selfplay clients.