Add trainable
This commit is contained in:
parent
a229ee21f0
commit
42580a83ea
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user