Returns a deep copy of the PoolingParams instance.
(self)
| 117 | return cls(**init_kwargs) |
| 118 | |
| 119 | def clone(self) -> "PoolingParams": |
| 120 | """Returns a deep copy of the PoolingParams instance.""" |
| 121 | return deepcopy(self) |
| 122 | |
| 123 | def verify(self, task: PoolingTask, model_config: Optional["ModelConfig"] = None) -> None: |
| 124 |
no outgoing calls