catalyst.compile_without_static_loops¶
- compile_without_static_loops = False¶
Specify whether Catalyst should resolve loops on a constant iteration range immediately during program capture. A constant iteration range means the start, stop, and step of a for loop are fixed and will not vary with program behaviour or inputs. Defaults to False.
Set to True if you prefer a more static form of the program, which can provide additional information to the compiler compared to a loop which generates a dynamic iteration index. The default is False because, even when static, loops are highly useful in compressing the size of the captured program, which is good for compile-time performance.
- Type:
bool