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
This code that used to work up to v0.8a now (v0.8.1a) leads to a segmentation fault:
layer out = Activation(Dense(l, num_classes), "softmax");
The workaround is to replace it with:
layer out = Softmax(Dense(l, num_classes));
I don't know if the intention is that the old way should still work: if so, it should be fixed. If not, it should raise some exception, rather than resulting in a segmentation fault.
Note that the old idiom still shows up in some examples.
The text was updated successfully, but these errors were encountered:
This code that used to work up to v0.8a now (v0.8.1a) leads to a segmentation fault:
layer out = Activation(Dense(l, num_classes), "softmax");
The workaround is to replace it with:
I don't know if the intention is that the old way should still work: if so, it should be fixed. If not, it should raise some exception, rather than resulting in a segmentation fault.
Note that the old idiom still shows up in some examples.
The text was updated successfully, but these errors were encountered: