All models

RealNVP_zuko

A NICE / RealNVP coupling flow from the zuko library, with affine transformations by default.

Diffusion and generative · 133 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (7 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
13.8K
Operations
133
Framework
PyTorch
Recurrent
No
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m2473
Graph hash
efeb5a3771a82a478f182c1f16c38d47d6630de6e3c321fd1228bb6b92858f39
Skeleton hash
7423790d8049f8efe73d29b3207a5908db4633a1d2a46fc466d3bd357932caf3
Architecture hash
bd404776ec1cc19a42ce776f4f8e42417215231c8efc3c88941a05c0399841b8
Diagram SHA-256
8cf473b40a6857b9676724c1e68b0f4e0564f39ffd1abb28da31b2989c1fc8c3
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

The member traced here is a coupling flow built from the NICE class in zuko, which the library documents as creating a NICE / RealNVP flow. By default it uses affine coupling transformations, as in RealNVP, rather than the additive transformations of the original NICE.

The constructor takes the number of features, the number of context features and the number of coupling transformations. A flag chooses whether random coupling masks are used; otherwise the flow alternates checkered masks. The docstring cites two references, NICE: Non-linear Independent Components Estimation and Density estimation using Real NVP.

Key idea. Affine coupling transformations, as in RealNVP, in place of the additive transformations of NICE.

  • normalizing flow
  • RealNVP
  • Real NVP
  • NICE
  • coupling flow
  • affine coupling
  • zuko
  • RealNVP_zuko
  • density estimation
  • flow

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.