core.nn.cfnets.create_cf

core.nn.cfnets.create_cf(
    posterior_kwargs,
    embedding_kwargs=None,
    initial_weights=None,
)

Build a continuous flow based on settings dictionaries.

Parameters

Name Type Description Default
posterior_kwargs dict Settings for the flow. This includes the settings for the parameter embedding. required
embedding_kwargs dict Settings for the context embedding network. None
initial_weights dict Initial weights for the embedding network (of SVD projection type). None

Returns

Name Type Description
nn.Module Neural network for the continuous flow.