(cards)
| 72 | return win_rate[0].item() * 100 |
| 73 | |
| 74 | def predict_env(cards): |
| 75 | input = EnvToOnehot(cards) |
| 76 | if UseGPU: |
| 77 | input = input.to(device) |
| 78 | input = torch.flatten(input) |
| 79 | win_rate = net(input) |
| 80 | return win_rate[0].item() * 100 |
nothing calls this directly
no test coverage detected