Skip to content

add batch dim for x, add test.

Codecov / codecov/patch succeeded Dec 17, 2024 in 0s

70.37% of diff hit (target 50.00%)

View this Pull Request on Codecov

70.37% of diff hit (target 50.00%)

Annotations

Check warning on line 139 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L139

Added line #L139 was not covered by tests

Check warning on line 141 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L141

Added line #L141 was not covered by tests

Check warning on line 144 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L144

Added line #L144 was not covered by tests

Check warning on line 147 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L147

Added line #L147 was not covered by tests

Check warning on line 149 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L149

Added line #L149 was not covered by tests

Check warning on line 157 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L157

Added line #L157 was not covered by tests

Check warning on line 309 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L309

Added line #L309 was not covered by tests

Check warning on line 336 in sbi/inference/potentials/likelihood_based_potential.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sbi/inference/potentials/likelihood_based_potential.py#L336

Added line #L336 was not covered by tests