Source code for qsprpred.extra.gpu.models.base

from abc import ABC, abstractmethod

from qsprpred.models import QSPRModel


[docs]class QSPRModelGPU(QSPRModel, ABC):
[docs] @abstractmethod def getGPUs(self): pass
[docs] @abstractmethod def setGPUs(self, gpus: list[int]): pass