rnnfc

CPUStaticRNN & its config.

class cneuromax.fitting.neuroevolution.net.cpu.static.rnnfc.CPUStaticRNNFCConfig(input_size, hidden_size, output_size)[source]

Bases: object

Config values for CPUStaticRNNFC.

Parameters:
class cneuromax.fitting.neuroevolution.net.cpu.static.rnnfc.CPUStaticRNNFC(config)[source]

Bases: Module

CPU-running static architecture RNN w/ a final FC layer.

Parameters:

config (CPUStaticRNNFCConfig)

reset()[source]

Resets the hidden state of the RNN.

Return type:

None

forward(x)[source]

Forward pass.

Return type:

Tensor