xnn.ffnn.models.classical_fast.wants_fast#

xnn.ffnn.models.classical_fast.wants_fast(module, use_fast, data, *params)[source]#

Whether an evaluation takes the kernels: use_fast on, a CUDA device with Triton, no intermediates kept, and, where the kernels must be differentiable twice (training, trained parameters), no cell gradient (a stress loss takes the reference terms).

Parameters:
Return type:

bool