-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Companion PR for matsengrp/dnsm-experiments-1#46 * Chunks evaluation of `ModelBase.evaluate_sequences`. Adds a method wrapper in `netam.common` which can easily be re-used on similar methods in the future (such as the equivalent method on AbstractBinarySelectionModel, if it ever gets vectorized). This is useful for avoiding loading the whole input vector's worth of intermediate results into memory, which was causing memory errors on the GPU when evaluating neutral models on large datasets. * fixes branch length setter * documents `Crepe.__call__` and enforces type of argument.
- Loading branch information
Showing
3 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters