(tensor)
| 78 | |
| 79 | |
| 80 | def all_reduce_average(tensor): |
| 81 | val = all_reduce_sum(tensor) |
| 82 | return val / get_world_size() |
| 83 | |
| 84 | |
| 85 | # Function from DETR - https://github.com/facebookresearch/detr/blob/master/util/misc.py |
nothing calls this directly
no test coverage detected