Skip to content

Commit

Permalink
Fix usage of SoftmaxOutput multi_output constructor parameter flag
Browse files Browse the repository at this point in the history
This looks like a copy-paste error from back when the library was first
created.
  • Loading branch information
joseph-wakeling-sociomantic committed Nov 29, 2017
1 parent 6dc3423 commit ff5110e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mxnet/Symbol.d
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ public class SoftmaxOutput : Symbol
cstring ignore_label_str = toNoLossString(ignore_label, buf_ignore_label);
buf_ignore_label[ignore_label_str.length] = '\0';

istring multi_output_str = use_ignore ? "true" : "false";
istring multi_output_str = multi_output ? "true" : "false";

istring preserve_shape_str = preserve_shape ? "true" : "false";

Expand Down

0 comments on commit ff5110e

Please sign in to comment.