Skip to content

Commit

Permalink
ruff tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Apr 9, 2024
1 parent f9a90d0 commit 8b00209
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/density_estimator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@
from torch import eye, zeros
from torch.distributions import MultivariateNormal

from sbi.neural_nets import build_mnle
from sbi.neural_nets.categorial import build_categoricalmassestimator
from sbi.neural_nets.density_estimators.shape_handling import (
reshape_to_sample_batch_event,
)
from sbi.neural_nets.flow import build_zuko_maf, build_maf
from sbi.neural_nets.mdn import build_mdn
from sbi.neural_nets import build_mnle
from sbi.neural_nets.categorial import build_categoricalmassestimator
from sbi.neural_nets.embedding_nets import CNNEmbedding
from sbi.neural_nets.flow import (
build_maf,
Expand All @@ -32,6 +30,7 @@
build_zuko_sospf,
build_zuko_unaf,
)
from sbi.neural_nets.mdn import build_mdn


def get_batch_input(nsamples: int, input_dims: int) -> torch.Tensor:
Expand Down

0 comments on commit 8b00209

Please sign in to comment.