We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static member ReLU (a:D) = let inline ff(a) = max 0.f a let inline fd(a) = D.ReLU(a) let inline df(cp, ap, at) = (1.f + D.Sign(ap)) / 2.f let inline r(a) = ReLU_D(a) D.Op_D_D (a, ff, fd, df, r) static member Sigmoid (a:D) = let inline ff(a) = 1.f / (1.f + exp -a) let inline fd(a) = D.Sigmoid(a) let inline df(cp:D, ap, at) = cp * (1.f - cp) let inline r(a) = Sigmoid_D(a) D.Op_D_D (a, ff, fd, df, r)
In the df functions there should be an at in there somewhere. The DV and DM versions are similarly affected.
df
at
The text was updated successfully, but these errors were encountered:
Yes, this is a bug affecting the forward AD of ReLU and Sigmoid. Thank you very much for reporting it.
It is now fixed in the repository.
Sorry, something went wrong.
This is fixed in version 0.7.7
No branches or pull requests
In the
df
functions there should be anat
in there somewhere. The DV and DM versions are similarly affected.The text was updated successfully, but these errors were encountered: