MCPcopy Create free account
hub / github.com/facebookresearch/large_concept_model / array

Method array

lcm/evaluation/arun.py:97–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 return config_for_cache
96
97 def array(self) -> Union[None, List[int]]:
98 nshards = getattr(self.config, "nshards", None)
99 if not nshards:
100 return None
101
102 return list(range(nshards))
103
104 def run(self, iteration_value: Optional[Any] = None, iteration_index: int = 0):
105 logger = logging.getLogger("lcm.evaluation.arun")

Calls

no outgoing calls

Tested by 2