package roart.gene.ml.impl;

import roart.common.ml.PytorchConfig;

public abstract class PytorchRecurrentConfigGene extends PytorchFeedConfigGene {

    public PytorchRecurrentConfigGene(PytorchConfig config) {
        super(config);
     }
}

@@ -59,16 +59,63 @@
 hConfig;
+%0Aimport roart.common.ml.PytorchRecurrentConfig;
 %0A%0Apublic
@@ -276,16 +276,996 @@
 nfig);%0A 
+   %7D%0A%0A    @Override%0A    public void randomize() %7B%0A        super.randomize();%0A        PytorchRecurrentConfig myconfig = (PytorchRecurrentConfig) getConfig();%0A        myconfig.setSlide(generateSlide());%0A    %7D%0A%0A    @Override%0A    public void mutate() %7B%0A        PytorchRecurrentConfig myconfig = (PytorchRecurrentConfig) getConfig();%0A        int task = random.nextInt(RANDOMS + 1);%0A        if (task %3C RANDOMS) %7B%0A            super.mutate(task);%0A            return;%0A        %7D%0A        switch (task) %7B%0A        case 0:%0A            myconfig.setSlide(generateStride());%0A            break;%0A        default:%0A        %7D%0A    %7D%0A%0A    @Override%0A    public void crossover(PytorchConfigGene other) %7B%0A        super.crossover(other);%0A        PytorchRecurrentConfig myconfig = (PytorchRecurrentConfig) getConfig();%0A        PytorchRecurrentConfig otherconfig = (PytorchRecurrentConfig) other.getConfig();%0A        if (random.nextBoolean()) %7B%0A            myconfig.setSlide(otherconfig.getSlide());%0A        %7D%0A
     %7D%0A%7D%0A

Add pytorch (I99).