13 lines
281 B
Python
13 lines
281 B
Python
from .. import BaseGene
|
|
|
|
|
|
class BaseConnGene(BaseGene):
|
|
"Base class for connection genes."
|
|
fixed_attrs = ['input_index', 'output_index', 'enabled']
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
def forward(self, attrs, inputs):
|
|
raise NotImplementedError
|