Skip to contents

The generated Stan code is a transpiled density: nle()'s \(q_\phi(x \mid \theta)\) written out term by term. An nre() fit holds a classifier, not a density, and nothing in R/stan.R knows how to write one out, so the two ways a user reaches this code say so by name rather than failing on a bare stopifnot().

Usage

check_exportable_fit(fit)