lasdi.latent_space
Attributes
Classes
Functions
|
Outputs the initial condition in the latent space: Z0 = encoder(U0) |
Module Contents
- lasdi.latent_space.act_dict
- lasdi.latent_space.initial_condition_latent(param_grid, physics, autoencoder)
Outputs the initial condition in the latent space: Z0 = encoder(U0)
- class lasdi.latent_space.MultiLayerPerceptron(layer_sizes, act_type='sigmoid', reshape_index=None, reshape_shape=None, threshold=0.1, value=0.0, num_heads=1)
Bases:
torch.nn.Module
- n_layers
- layer_sizes
- fcs = []
- reshape_index = None
- reshape_shape = None
- act_type = 'sigmoid'
- use_multihead = False
- forward(x)
- apply_attention(x, act_idx)
- init_weight()