MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __len__

Method __len__

PATH/core/distributed_utils.py:1080–1081  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1078 return iter(indices)
1079
1080 def __len__(self):
1081 return self.end - self.beg
1082
1083def simple_group_split(world_size, rank, num_groups):
1084 groups = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected