use of com.simiacryptus.mindseye.layers.java.LinearActivationLayer in project MindsEye by SimiaCryptus.
the class SquareActivationLayerTest method getReferenceLayer.
@Nullable
@Override
public Layer getReferenceLayer() {
PipelineNetwork network = new PipelineNetwork();
network.wrap(new LinearActivationLayer().setScale(alpha), network.wrap(new NthPowerActivationLayer().setPower(2), network.getInput(0)));
return network;
// return new NthPowerActivationLayer().setPower(2);
}
Aggregations