Skip to content

Conversation

@oxinabox
Copy link
Member

@oxinabox oxinabox commented Aug 27, 2019

This is the matching changes for
JuliaDiff/ChainRulesCore.jl#30

Before reviewing you are recommended to read the Docs PR buddy of this:
#103

@oxinabox oxinabox force-pushed the ox/wrtfunction branch 2 times, most recently from cab0e9e to f564800 Compare August 30, 2019 15:55
@oxinabox oxinabox changed the title [WIP] include dervative WRT self. Overhaul Rules (partner PR) Sep 2, 2019
end
end

function ensure_not_running_on_functor(f, name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is temporary and will change in future? let's comment that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not super soon,
@test_scalar would need a lot of work to handle functors.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i'm fine with that... maybe we should have an issue tracking that and link to it here?

it certainly is on the long-term plan (although someone might need to want it enough for it to actually happen)

@oxinabox
Copy link
Member Author

oxinabox commented Sep 6, 2019

Status update:
basically everrything is done except:

  • src/rulesets/LinearAlgebra/blas.jl
    • which needs:
      • testing still
      • sorting out update rules
  • /src/rulesets/LinearAlgebra/factorization.jl
    • which I've not touched
    • is probably most fiddly

@oxinabox
Copy link
Member Author

Everything is done accept sorting out things that accumulate inplace.
Which we don’t actually need.
Considering maybe we should merge as is an make a follow up PR?
Probably not. idk. (edited)
I really need to pair with someone and work that all out

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good

since there are so many changes I'll try to review again - probably once the "un-named returns" stuff is fixed up since I think that the last notable thing left?

@oxinabox
Copy link
Member Author

This should be good to go now

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the source
feels good

mostly some tiny style suggestions

will review tests later today

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this

@oxinabox oxinabox merged commit c8d01a3 into master Sep 19, 2019
@YingboMa YingboMa deleted the ox/wrtfunction branch December 24, 2019 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants