Number of hypotheses in the list.
(self)
| 958 | self.worst_score = 1e9 |
| 959 | |
| 960 | def __len__(self): |
| 961 | """ |
| 962 | Number of hypotheses in the list. |
| 963 | """ |
| 964 | return len(self.beams) |
| 965 | |
| 966 | def add(self, hyp, sum_logprobs): |
| 967 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected