Skip to content
This repository has been archived by the owner on Mar 31, 2019. It is now read-only.

Support both Theano (Lasagne; Keras) and Tensorflow (Keras) backend #92

Open
Omrigan opened this issue Feb 27, 2017 · 1 comment
Open

Comments

@Omrigan
Copy link

Omrigan commented Feb 27, 2017

The idea comes from lasagne: Lasagne/Lasagne#611

Some functions have the same functional, but 2 backends can return different format of results. However, it is not a big issue if we carefully abstract them.

The biggest advantages of adding tensorflow backend is that it significantly speed up the building and running process on CPU. Hence, it helps a lot with the development process.

I am aware that some Agentnet modules are specialised for only Lasagne, however, I think it is possible to adapt all common layers for both frameworks.

@justheuristic
Copy link
Collaborator

we're planning on this (and in fact could use someone help with contributions), so far you can obtain similar speed-ups by compiling with mode "FAST_COMPILE" or "DEBUG_MODE"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants