NOTE: upstream not implemented, ref: https://arxiv.org/pdf/2204.05424.pdf
| 60 | float patience; // NOTE: upstream not implemented, ref: |
| 61 | // https://arxiv.org/pdf/2204.05424.pdf |
| 62 | SamplingBeamSearch() : beam_size(-1), patience(-1.0f) {} |
| 63 | |
| 64 | SamplingBeamSearch(int beam_size, float patience) |
| 65 | : beam_size(beam_size), patience(patience) {} |
nothing calls this directly
no outgoing calls
no test coverage detected