Add trainable

This commit is contained in:
Pascal Serrarens 2026-08-06 09:44:52 +02:00
parent a229ee21f0
commit 42580a83ea

View File

@ -108,11 +108,13 @@ namespace NanoBrain {
public string clusterName; public string clusterName;
public string neuronName; public string neuronName;
public float weight; public float weight;
public bool trainable;
public SynapseData(Synapse synapse) { public SynapseData(Synapse synapse) {
this.clusterName = synapse.neuron.parent.name; this.clusterName = synapse.neuron.parent.name;
this.neuronName = synapse.neuron.name; this.neuronName = synapse.neuron.name;
this.weight = synapse.weight; this.weight = synapse.weight;
this.trainable = synapse.trainable;
} }
} }
} }