Skip to content

Commit

Permalink
jk
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlenail committed Dec 28, 2018
1 parent 2d4baf4 commit b3ca313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FCNN.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function FCNN() {
graph.nodes = flatten(graph.nodes);
graph.links = flatten(graph.links).filter(l => (Object.keys(l).length > 0 && (showBias ? (parseInt(l['target'].split('_')[0]) !== architecture.length-1 ? (l['target'].split('_')[1] !== '0') : true) : true)));

label = architecture.filter(width => width).map((layer_width, layer_index) => { return {'id':'layer_'+layer_index+'_label','layer':layer_index,'text':textFn(layer_index, layer_width)}});
label = architecture.map((layer_width, layer_index) => { return {'id':'layer_'+layer_index+'_label','layer':layer_index,'text':textFn(layer_index, layer_width)}});

link = link.data(graph.links, d => d.id);
link.exit().remove();
Expand Down

0 comments on commit b3ca313

Please sign in to comment.