xnn.ffnn.models.classical_fast.needs_twice#
- xnn.ffnn.models.classical_fast.needs_twice(module, data=None)[source]#
Whether an evaluation takes the kernels differentiable twice (
classical_train): gradients on and no cell gradient (the cell is a constant of those kernels; with a cell gradient, the stress, the kernels differentiable once run, which carry it).- Parameters:
data (AtomicGraph | None)
- Return type: