Mike J Innes

Results 334 comments of Mike J Innes

Note that this won't solve all leaks, e.g. if you have `global ref = Real[0]` and put a number in there while differentiating you'll get the same issue. I could...

FWIW, this is not just academic since it can lead to bad gradients (effectively a form of perturbation confusion). For example: ```julia julia> function f(x) global y = sin(x) end...

No, Capstan will be able to support custom layers just like Flux's current AD. Otherwise, it would not really be automatic differentiation :)

PR up at https://github.com/JuliaLang/METADATA.jl/pull/4250

Agree that this could be useful, I'd definitely be open to a PR!

`basedocs.jl` is the moral equivalent of `helpdb.jl`, but at the moment it's more a proof of concept than anything else – completely written out by hand. Assuming we're agreed that...

Also, I should mention that I'm not at all against metadata, I just think it should be done via the Markdown itself. For example: ``` julia @doc meta(doc"Foo function", Dict(:author...

For Base docs, let's just put the signature as a first line: ``` julia @doc """ Date(period::Period...) -> Date Constuct a Date type by `Period` type parts. Arguments may be...

In fact, I hope @MichaelHatherly won't mind me quoting him to illustrate my point: > `meta` was a nice idea, but once I started writing out some actual docstrings with...