gt4sd.frameworks.granular.ml.models.model_builder module¶
Model builder module.
Summary¶
Functions:
Build model from architecture configuration. |
|
Building models given architecture configurations. |
|
Define latent models input size and return the updated configurations. |
Reference¶
- build_model(architecture)[source]¶
Build model from architecture configuration.
- Parameters
architecture (
Dict
[str
,Any
]) – architecture configuration.- Return type
- Returns
built model.
- building_models(architectures)[source]¶
Building models given architecture configurations.
- Parameters
architectures (
List
[Dict
[str
,Any
]]) – list of architecture configurations.- Return type
List
[GranularBaseModel
]- Returns
a list of models.
- define_latent_models_input_size(architecture_autoencoders, architecture_latent_models)[source]¶
Define latent models input size and return the updated configurations.
- Parameters
architecture_autoencoders (
List
[Dict
[str
,Any
]]) – list of autoencoder architecture configurations.architecture_latent_models (
List
[Dict
[str
,Any
]]) – list of latent model architecture configurations.
- Return type
List
[Dict
[str
,Any
]]- Returns
list of update latent model architecture configurations.