xnn.common.models.dispersion_fast.d3_direct.dense_applies#

xnn.common.models.dispersion_fast.d3_direct.dense_applies(data, limit)[source]#

Whether the dense paths serve data: one molecule of at most limit atoms or a batch of molecules of at most DENSE_BATCH_ATOMS (the pairs and triangles across its molecules are computed and dropped), and torch.compile produces CPU code here.

Parameters:

limit (int)

Return type:

bool