Skip to main content

Yet another neural network toolkit.

Project description


Yet Another toolkit for Neural Network slightly flavoured by Ultra-High Energy Cosmic Rays.


CrayNN is highly influenced by Lasange:

Simplicity: Be easy to use, easy to understand and easy to extend, to facilitate use in research
Transparency: Do not hide Theano behind abstractions, directly process and return Theano expressions or Python / numpy data types
Modularity: Allow all parts (layers, regularizers, optimizers, ...) to be used independently of Lasagne
Pragmatism: Make common use cases easy, do not overrate uncommon cases
Restraint: Do not obstruct users with features they decide not to use
Focus: "Do one thing and do it well"

Just replace theano with tensorflow.


via PyPi

pip install craynn

via git

craynn can be installed directly from pip install git+ however, as repository updates frequently, it is recommend to clone the repository and install the package in development mode:

git clone
cd craynn/
pip install -e .

NB: don't forget to install proper version of craygraph in a similar manner:

git clone
cd craygraph/
pip install -e .


Check out jupyter notebooks in examples/.

Quick guide

craynn is designed for rapidly defining networks of all sorts:

from craynn import network, conv, max_pool

net = network((None, 1, 28, 28))(
  conv(16), conv(24), max_pool(),
  conv(16), conv(24), max_pool(),
  conv(16), conv(24), max_pool(),

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

craynn-0.3.2.tar.gz (40.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page