File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -939,6 +939,10 @@ int main(int argc, char** argv)
939939 {
940940 fprintf (pp, " %-16s" , " UnaryOp" );
941941 }
942+ else if (n.op == " LogisticRegressionOutput" )
943+ {
944+ fprintf (pp, " %-16s" , " Sigmoid" );
945+ }
942946 else if (n.op == " max" )
943947 {
944948 fprintf (pp, " %-16s" , " Reduction" );
@@ -1040,7 +1044,7 @@ int main(int argc, char** argv)
10401044 }
10411045 }
10421046
1043- if (n.op == " SoftmaxOutput" )
1047+ if (n.op == " SoftmaxOutput" || n. op == " LogisticRegressionOutput " )
10441048 {
10451049 // drop label
10461050 input_size--;
@@ -1057,7 +1061,7 @@ int main(int argc, char** argv)
10571061 continue ;
10581062 }
10591063
1060- if (n.op == " SoftmaxOutput" )
1064+ if (n.op == " SoftmaxOutput" || n. op == " LogisticRegressionOutput " )
10611065 {
10621066 // drop label
10631067 if (j == 1 )
@@ -1549,6 +1553,9 @@ int main(int argc, char** argv)
15491553 int op_type = 8 ;
15501554 fprintf (pp, " 0=%d" , op_type);
15511555 }
1556+ else if (n.op == " LogisticRegressionOutput" )
1557+ {
1558+ }
15521559 else if (n.op == " max" )
15531560 {
15541561 int operation = 4 ;
You can’t perform that action at this time.
0 commit comments