MLPDecoder.Config¶
Component: MLPDecoder
-
class
MLPDecoder.Config[source] Bases:
DecoderBase.ConfigConfiguration class for MLPDecoder.
Dimensions of the outputs of hidden layers..
Type: List[int]
All Attributes (including base classes)
- load_path: Optional[str] =
None- save_path: Optional[str] =
None- freeze: bool =
False- shared_module_key: Optional[str] =
None- hidden_dims: list[int] =
[]- out_dim: Optional[int] =
None- layer_norm: bool =
False- dropout: float =
0.0- activation: Activation =
<Activation.RELU: 'relu'>
Default JSON
{
"load_path": null,
"save_path": null,
"freeze": false,
"shared_module_key": null,
"hidden_dims": [],
"out_dim": null,
"layer_norm": false,
"dropout": 0.0,
"activation": "relu"
}