sbi-dev / sbi

Simulation-based inference toolkit
https://sbi-dev.github.io/sbi/
Apache License 2.0
560 stars 138 forks source link

Replace redundant `x_shape` #995

Open manuelgloeckler opened 5 months ago

manuelgloeckler commented 5 months ago

Description

The new DensityEstimators will have a _condition_shape attribute, which is required to correctly handle batch shapes on x_o.

Currently, all posterior classes also have a _x_shape attribute which does contain the same information and is thus no longer required.

janfb commented 2 months ago

@manuelgloeckler has this been fixed by #1151 ?