-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
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
Add set-up of Mul_DMCons_DM for adjoint calculation #56
Conversation
fixes a runtime issue with ConstantMatrix * Matrix
Note there may be other reachable cases that have an equivalent issue. We might need a different strategy to ensure all the right cases are handled: DiffSharp/src/DiffSharp/AD.Float32.fs Lines 3471 to 3569 in 0fb1a8c
|
Spoke with @dsyme directly I'm going to merge this specific fix. I'll take a look at a more general change to separate out the scalar, vector, and matrix operations separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved
Fixes an initialisation issue with constant matrix * matrix
Added a simple gradient descent test, perhaps need to separate out these smoke tests or start controlling the randomness and check results.