# What is the equivalent of the InvertibleNetwork in BayesFlow 2.0?

**URL:** <https://discuss.bayesflow.org/t/what-is-the-equivalent-of-the-invertiblenetwork-in-bayesflow-2-0/153>\
**Category:** General\
**Created:** [May 1, 2025, 7:20am UTC](https://discuss.bayesflow.org/t/what-is-the-equivalent-of-the-invertiblenetwork-in-bayesflow-2-0/153 "2025-05-01T07:20:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdj2000](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tdj2000](https://discuss.bayesflow.org/u/tdj2000)\
**Post date:** [May 1, 2025, 7:20am UTC](https://discuss.bayesflow.org/t/what-is-the-equivalent-of-the-invertiblenetwork-in-bayesflow-2-0/153/1 "2025-05-01T07:20:07Z")

</div>

I have a project built using the old version of BayesFlow which I am updating to use the new version of BayesFlow. Which new InferenceNetwork class is most similar to the standard InvertibleNetwork that was available in the old version of BayesFlow?

---

<div class="post-metadata">

**Author:** ![KLDivergence](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.bayesflow.org/kldivergence/32/15_2.png) [@KLDivergence](https://discuss.bayesflow.org/u/KLDivergence)\
**Post date:** [May 1, 2025, 5:48pm UTC](https://discuss.bayesflow.org/t/what-is-the-equivalent-of-the-invertiblenetwork-in-bayesflow-2-0/153/2 "2025-05-01T17:48:36Z")

</div>

The equivalent is `CouplingFlow`, which can use either affine couplings (previous default) or spline (more powerful for lower dimensional problems, require less depth).
