dair_pll.deep_learnable_model
- class dair_pll.deep_learnable_model.DeepLearnableModel(in_size)[source]
-
-
std_dev:
torch.nn.parameter.Parameter
-
std_dev:
- class dair_pll.deep_learnable_model.DeepRecurrentModel(in_size, hidden_size, out_size, layers, nonlinearity)[source]
Bases:
DeepLearnableModel
- forward(x, carry)[source]
Defines the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.- Return type:
- class dair_pll.deep_learnable_model.MLP(in_size, hidden_size, out_size, layers, nonlinearity)[source]
Bases:
DeepLearnableModel
- forward(x, carry)[source]
Defines the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.- Return type:
- class dair_pll.deep_learnable_model.ZeroModel(in_size, hidden_size, out_size, layers, nonlinearity)[source]
Bases:
DeepLearnableModel
- forward(x, carry)[source]
Defines the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.- Return type: