You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Layer Connection, I don't undestant the line
if(this.type == Layer.connectionType.ALL_TO_ELSE && from == to)
because from and to are Neuron objects in two differente layers. Maybe the code must be
if(this.type == Layer.connectionType.ALL_TO_ELSE && here == there)
??
The original code was:
if (this.type == Layer.connectionType.ALL_TO_ALL ||
this.type == Layer.connectionType.ALL_TO_ELSE) {
for (var here in this.from.list) {
for (var there in this.to.list) {
var from = this.from.list[here];
var to = this.to.list[there];
if(this.type == Layer.connectionType.ALL_TO_ELSE && from == to)
continue;
var connection = from.project(to, weights);
this.connections[connection.ID] = connection;
this.size = this.list.push(connection);
}
}
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
In Layer Connection, I don't undestant the line
if(this.type == Layer.connectionType.ALL_TO_ELSE && from == to)
because from and to are Neuron objects in two differente layers. Maybe the code must be
if(this.type == Layer.connectionType.ALL_TO_ELSE && here == there)
??
The original code was:
Thanks,
The text was updated successfully, but these errors were encountered: