enum SideEffectBehavior

Description

Controls the behavior of the compiler when a differentiable function is detected to have side-effects.

Values

Warn = 0

Causes a warning if the method is detected to have side-effects

Allow = 1

Suppresses the warning