↓ 3 callersFunctioncreate_mlp_from_config(version: str, input_dim: int, hidden_dim: int, output_dim: int, num_inner: int, is_summary: bool = True, **kw
radio/adaptor_module_factory.py:74
↓ 2 callersMethod__init__(self, weight: torch.Tensor, *args, init_norm_to_current: bool = False, alpha: float = 0.05, version: int = 2,
radio/enable_spectral_reparam.py:27
↓ 2 callersFunction_build_database(dataset, model: nn.Module, device: torch.device, num_steps: int, rank: int, amp: bool = True, adaptor: str =
examples/knn_classification.py:342
↓ 2 callersFunctioncreate_mlp_from_state(version: str, state: Dict[str, torch.Tensor], prefix: str = '', spectral_weights: bool = False, is_summary: b
radio/adaptor_module_factory.py:82
↓ 2 callersFunctionget_feature_matrix(
cache_dir: str, model_name: str, which: str, adaptor: str,
*args, **kwargs
)
examples/cca_compare_models.py:136