Exemple #1
0
 internal NeuralTuringMachine(NeuralTuringMachine oldMachine)
 {
     _controller     = oldMachine._controller.Clone();
     _memory         = oldMachine._memory;
     _newMemoryState = oldMachine._newMemoryState;
     _oldMemoryState = oldMachine._oldMemoryState;
 }
Exemple #2
0
 public NeuralTuringMachine(int inputSize, int outputSize, int controllerSize, int headCount, int memoryColumnsN, int memoryRowsM, IWeightUpdater initializer)
 {
     _memory     = new NTMMemory(memoryColumnsN, memoryRowsM, headCount);
     _controller = new FeedForwardController(controllerSize, inputSize, outputSize, headCount, memoryRowsM);
     UpdateWeights(initializer);
 }