We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d63e84e commit d16dbc8Copy full SHA for d16dbc8
autointent/modules/scoring/_cnn/cnn.py
@@ -85,7 +85,7 @@ def from_context(
85
dropout=dropout,
86
cnn_config=cnn_config
87
)
88
-
+
89
def get_embedder_config(self) -> dict[str, Any]:
90
"""Get the configuration of the embedder."""
91
config = self.cnn_config.model_dump()
@@ -96,7 +96,7 @@ def get_embedder_config(self) -> dict[str, Any]:
96
"dropout": self.dropout,
97
})
98
return config
99
100
def get_implicit_initialization_params(self) -> dict[str, Any]:
101
return {"cnn_config": self.cnn_config.model_dump()}
102
0 commit comments