(batch)
| 131 | |
| 132 | |
| 133 | def collate_fn(batch): |
| 134 | batch.sort(key=lambda x: x[3], reverse=True) |
| 135 | return default_collate(batch) |
| 136 | |
| 137 | |
| 138 | '''For use of training text motion matching model, and evaluations''' |
nothing calls this directly
no outgoing calls
no test coverage detected