Janus 2.0.0
High-performance C++20 dual-mode numerical framework
Loading...
Searching...
No Matches
janus::SensitivitySwitchOptions Struct Reference

Heuristics controlling automatic forward-vs-adjoint selection. More...

#include <AutoDiff.hpp>

Public Attributes

int forward_parameter_threshold = 20
int adjoint_parameter_threshold = 100
int checkpoint_horizon_threshold = 200
int very_long_horizon_threshold = 1000
int checkpoint_steps = 20
int checkpoint_steps_very_long = 50

Detailed Description

Heuristics controlling automatic forward-vs-adjoint selection.

Member Data Documentation

◆ adjoint_parameter_threshold

int janus::SensitivitySwitchOptions::adjoint_parameter_threshold = 100

◆ checkpoint_horizon_threshold

int janus::SensitivitySwitchOptions::checkpoint_horizon_threshold = 200

◆ checkpoint_steps

int janus::SensitivitySwitchOptions::checkpoint_steps = 20

◆ checkpoint_steps_very_long

int janus::SensitivitySwitchOptions::checkpoint_steps_very_long = 50

◆ forward_parameter_threshold

int janus::SensitivitySwitchOptions::forward_parameter_threshold = 20

◆ very_long_horizon_threshold

int janus::SensitivitySwitchOptions::very_long_horizon_threshold = 1000

The documentation for this struct was generated from the following file: