pub trait LogpError: Error + Send {
// Required method
fn is_recoverable(&self) -> bool;
}
Expand description
Errors that happen when we evaluate the logp and gradient function
Required Methods§
Sourcefn is_recoverable(&self) -> bool
fn is_recoverable(&self) -> bool
Unrecoverable errors during logp computation stop sampling, recoverable errors are seen as divergences.