Git Product home page Git Product logo

Comments (6)

hunse avatar hunse commented on June 12, 2024

No, I never stumbled upon that. It definitely overlaps with some of the stuff I did, but just looking at the examples, it doesn't seem like one could do what I did with Clyther. Neat, though.

from nengo-ocl.

jaberg avatar jaberg commented on June 12, 2024

I raise this now because recent changes to Nengo have made it so that the lambdas inside of Direct connections, Nodes, and PythonFunction are now working on various numbers of inputs. It looks like nontrivial work to upgrade the sim_ocl.Simulator to support these new types, and also go through the ast_conversion code to handle various sorts function signatures. I was wondering if Clyther might handle some of that work.

from nengo-ocl.

jaberg avatar jaberg commented on June 12, 2024

Maybe next week after your coursework wraps up, we could go over the differences between what you did and Clyther and maybe refactor things, or not, but sort of walk through it. Will you be in the lab next Mon/Tues?

from nengo-ocl.

hunse avatar hunse commented on June 12, 2024

I'll be around on Monday and Tuesday, but I'll probably be writing up my project. What about Wednesday?

from nengo-ocl.

hunse avatar hunse commented on June 12, 2024

Update: These nested functions are still a problem for AST conversion. Need to look into fixing them and/or taking out the nested functions in the Direct mode stuff in nengo/builder/connection.py for slicing inputs.

from nengo-ocl.

hunse avatar hunse commented on June 12, 2024

With nengo/nengo#729, we no longer use nested lambdas to do the slicing, so this is less of an issue. We may want to revisit this at some point, though, so that we can convert a wider range of node functions into OCL code.

from nengo-ocl.

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.