Configs

Option Type/Default Description
autotuning bool/true Enables autotuning.
autotuning::max_runs int/100 Max number of runs per library and layer.
autotuning::not_improved int/5 Number of runs without improvement when autotuning will be stopped.
compiler::auto_vdim_threshold int/128 Used to automatically determine var dims. Set to 0 to disable.
compiler::debug bool/false Adds assertions in the code to check correctness at runtime (requires jit::debug).
compiler::debug_graph bool/false Generates SVGs in .sol/debug with the network structure.
compiler::debug_memory_consumption bool/false Generates memory consumption estimations in .sol/debug.
compiler::debug_text bool/false Textural network output in .sol/debug.
compiler::performance_warning bool/false Shows warning, if chose hyper-parameters have negative impact on performance.
compiler::remove_unused_params bool/false Removes unused model parameters.
compiler::spawn int/0 0 = posix_spawn(vfork), 1 = posix_spawn(fork), 2 = popen.
conv::sampling bool/true
dfp::debug bool/false Generates SVGs for the DFP computation graph.
framework str/None Used as default if framework is not set in sol.optimize(...)
heuristic::[backend]::[layer]::[inf, fwd, bwd, fil] integer Defines the heuristic value used by [backend] for [layer]
jit::debug bool/false Enables debugging in the generated code.
onnx::debug bool/false Generates SVGs for the ONNX computation graph.
reporting bool/false Enables GCC/NCC reporting on the generated code.
tvmc::tune bool/false Tune the computation graph platform specifically (compilation will take significantly longer).