Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Commit

Permalink
Added documentation about backend configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjc committed Jun 24, 2015
1 parent f475a7d commit 8adc3be
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/guide_intermediate.rst
Expand Up @@ -77,3 +77,15 @@ To setup the library to use your GPU or CPU explicitly in 32-bit or 64-bit mode,
from sknn.platform import cpu64
WARNING: This will only work if your program has not yet imported the ``theano`` module, due to the way that library is designed. If ``THEANO_FLAGS`` are set on the command-line, they are not overwridden.


Backend Configuration
---------------------

As of version 0.3, ``scikit-neuralnetwork`` supports multiple neural network implementations called backends, each wrapped behind an identical standardized interface. To configure a backend, you can do so by importing the corresponding module:

.. code:: python
from sknn.backend import pylearn2
As long as you call this before creating a neural network, this will register the PyLearn2 implementation as the one that's used. Supported backends are currently ``pylearn2`` (default) and ``deepy`` (incomplete).

0 comments on commit 8adc3be

Please sign in to comment.