Coder Social home page Coder Social logo

Comments (6)

baggepinnen avatar baggepinnen commented on May 4, 2024 2

I am still having this issue, has it been resolved on some branch other than the latest tagged version perhaps?

from flux.jl.

MikeInnes avatar MikeInnes commented on May 4, 2024 1

So now DataFlow just interprets f.(x) as broadcast(f, x). This is pretty easy to handle in Flux; the right graph method gets called in Flux already, so we just need to add the overloads.

from flux.jl.

MikeInnes avatar MikeInnes commented on May 4, 2024

Yes, this issue is a valid one with Flux. We changed our approach to gradients to make things more consistent but were waiting on malmaud/TensorFlow.jl#215 to complete it. Should be fixed soon.

from flux.jl.

ExpandingMan avatar ExpandingMan commented on May 4, 2024

Thanks for the update. Indeed it seems that TensorFlow merged their pull request already. In that case I'll wait rather than trying to get this going through some hack.

By the way, the warnings about the dot operators seem very hard to fix. Will this require some way of passing multiple function arguments to graph, as in graph(::typeof(broadcast), ::typeof(+), args...) or will there be some simpler solution?

from flux.jl.

MikeInnes avatar MikeInnes commented on May 4, 2024

That's one option. Right now I'm trying to implement #31 in DataFlow.jl, which is a slightly different design. With that you'd dispatch on graph(::Broadcast{typeof(+)}, args...)

from flux.jl.

MikeInnes avatar MikeInnes commented on May 4, 2024

This should be fixed in the latest release.

from flux.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.