-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move neural nets factory out of utils (#994)
* Export classes and function * Reworked factory imports * Debugging ruff * Debugging ruff * Added links to the new location with deprecation warnings * Forgot build_zuko_maf * Added tests for the deprecated functions * Renaming * Doc strings now only contain the deprecation warning * Updated the deprecation message * Updated the deprecation message * Ruff once more
- Loading branch information
Showing
20 changed files
with
439 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from sbi.neural_nets.classifier import ( | ||
StandardizeInputs, | ||
build_input_layer, | ||
build_linear_classifier, | ||
build_mlp_classifier, | ||
build_resnet_classifier, | ||
) | ||
from sbi.neural_nets.density_estimators import DensityEstimator, NFlowsFlow | ||
from sbi.neural_nets.embedding_nets import ( | ||
CNNEmbedding, | ||
FCEmbedding, | ||
PermutationInvariantEmbedding, | ||
) | ||
from sbi.neural_nets.factory import classifier_nn, likelihood_nn, posterior_nn | ||
from sbi.neural_nets.flow import ( | ||
build_made, | ||
build_maf, | ||
build_maf_rqs, | ||
build_nsf, | ||
build_zuko_maf, | ||
) | ||
from sbi.neural_nets.mdn import build_mdn | ||
from sbi.neural_nets.mnle import MixedDensityEstimator, build_mnle |
Oops, something went wrong.