zuko.flows.core

Core building blocks.

Warning

This sub-module is deprecated and will be removed in the future. Use zuko.lazy instead.

Classes

Flow

Creates a lazy normalizing flow.

Descriptions

class zuko.flows.core.Flow(transform, base)[source]

Creates a lazy normalizing flow.

Parameters:
forward(c=None)[source]
Parameters:

c (Tensor | None) – A context \(c\).

Returns:

A normalizing flow \(p(X | c)\).

Return type:

NormalizingFlow