MultiplicativeAttention.ConfigΒΆ

Component: MultiplicativeAttention

class MultiplicativeAttention.Config[source]

Bases: Module.Config

All Attributes (including base classes)

load_path: Optional[str] = None
save_path: Optional[str] = None
freeze: bool = False
shared_module_key: Optional[str] = None
p_hidden_dim: int = 32
q_hidden_dim: int = 32
normalize: bool = False

Default JSON

{
    "load_path": null,
    "save_path": null,
    "freeze": false,
    "shared_module_key": null,
    "p_hidden_dim": 32,
    "q_hidden_dim": 32,
    "normalize": false
}