Skip to content

EvoEngineerInsightCudaInterface

evotoolkit.task.cuda_engineering.method_interface.EvoEngineerInsightCudaInterface

Bases: EvoEngineerFullCudaInterface

Source code in src/evotoolkit/task/cuda_engineering/method_interface/evoengineer_insight_interface.py
class EvoEngineerInsightCudaInterface(EvoEngineerFullCudaInterface):
    def __init__(self, task_config: CudaTask):
        super().__init__(task_config)
        self.valid_require = 0

    def get_init_operators(self) -> List[Operator]:
        """Get initialization operators for CUDA optimization"""
        return [Operator("init", 0)]

    def get_offspring_operators(self) -> List[Operator]:
        """Get offspring operators for CUDA optimization"""
        return [Operator("init", 0)]

get_init_operators

get_init_operators() -> List[Operator]

Get initialization operators for CUDA optimization

Source code in src/evotoolkit/task/cuda_engineering/method_interface/evoengineer_insight_interface.py
def get_init_operators(self) -> List[Operator]:
    """Get initialization operators for CUDA optimization"""
    return [Operator("init", 0)]

get_offspring_operators

get_offspring_operators() -> List[Operator]

Get offspring operators for CUDA optimization

Source code in src/evotoolkit/task/cuda_engineering/method_interface/evoengineer_insight_interface.py
def get_offspring_operators(self) -> List[Operator]:
    """Get offspring operators for CUDA optimization"""
    return [Operator("init", 0)]