AccelerationEngine¶
- class AccelerationEngine(domain_name, engine_name, bases=(), /)[source]¶
Bases:
objectAn accelerated re-implementation of (a subset of) the functionality in a domain.
Create an engine named
engine_namefor the existing domaindomain_name.domain_namemay be the module the domain is named after, anAccelerationDomain, or its name. An engine already has to import the domain it accelerates, so passing the module avoids repeating that name as a string.- Parameters:
domain_name (str | ModuleType | AccelerationDomain)
engine_name (str)
bases (Sequence[Self | str])