public void Reset() { if (LayerMatrix != null) { LayerMatrix.Ramdomize(-1, 1); } }
public void Prune(int neuron) { if (_layerMatrix != null) { LayerMatrix = LayerMatrix.DeleteRow(neuron); // delete a row on this matrix } if (Previous != null) { if (Previous.LayerMatrix != null) { Previous.LayerMatrix = Previous.LayerMatrix.DeleteColumn(neuron); // delete a column on the previous } } }