Skip to content

Maf¤

Module: generative_models.models.flow.maf

Source: generative_models/models/flow/maf.py

Overview¤

Masked Autoregressive Flow (MAF) implementation.

Based on the paper "Masked Autoregressive Flow for Density Estimation" by Papamakarios et al. Reference implementations from benchmark_VAE and other sources are used as guidance.

Classes¤

MAF¤

class MAF

MAFLayer¤

class MAFLayer

Functions¤

call¤

def __call__()

init¤

def __init__()

init¤

def __init__()

forward¤

def forward()

inverse¤

def inverse()

inverse¤

def inverse()

log_prob¤

def log_prob()

sample¤

def sample()

Module Statistics¤

  • Classes: 2
  • Functions: 8
  • Imports: 7