| 138 | return True |
| 139 | |
| 140 | class Config: |
| 141 | levels: List[int] |
| 142 | dim: int | None = None |
| 143 | num_codebooks: int = 1 |
| 144 | keep_num_codebooks_dim: bool | None = None |
| 145 | scale: float | None = None |
| 146 | allowed_dtypes: Tuple[str, ...] = ('float32', 'float64') |
| 147 | channel_first: bool = False |
| 148 | projection_has_bias: bool = True |
| 149 | return_indices: bool = True |
| 150 | force_quantization_f32: bool = True |
| 151 | use_rms: bool = False |
| 152 | |
| 153 | def __init__(self, c: Config): |
| 154 | super().__init__() |
nothing calls this directly
no outgoing calls
no test coverage detected