MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / __init__

Method __init__

datasets/multi_resolution_sampler.py:12–22  ·  view source on GitHub ↗
(
        self,
        ori_thw_list: List[Tuple],
        dp_size: int,
        rnd_state: np.random.RandomState,
        bucket_config: BucketConfig,
    )

Source from the content-addressed store, hash-verified

10class BucketFactory:
11
12 def __init__(
13 self,
14 ori_thw_list: List[Tuple],
15 dp_size: int,
16 rnd_state: np.random.RandomState,
17 bucket_config: BucketConfig,
18 ) -> None:
19 self.ori_thw_list = ori_thw_list
20 self.dp_size = dp_size
21 self.rnd_state = rnd_state
22 self.bucket_config = bucket_config
23
24 def __call__(self, ) -> Any:
25 flop_list = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected