Skip to main content

craynn

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

Philosophy

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 jax.

Installation

via PyPi

pip install craynn

via git

craynn can be installed directly from gitlab.com: pip install git+https://gitlab.com/craynn/craynn.git however, as repository updates frequently, it is recommended to clone the repository and install the package in development mode:

git clone git@gitlab.com:craynn/craynn.git
cd craynn/
pip install -e .

Usage

Take a look at 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(),
)

Metadata

Release files for craynn 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for craynn 0.4.0
File Size Uploaded Provenance Actions
craynn-0.4.0.tar.gz 45.5 kB Without provenance Details for craynn-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for craynn 0.4.0
File Interpreter ABI Platform Actions
craynn-0.4.0-py3-none-any.whl Python 3 none any Details for craynn-0.4.0-py3-none-any.whl

Total release size: 108.5 kB

Release files / craynn-0.4.0.tar.gz

Download URL craynn-0.4.0.tar.gz
Size 45.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ca73de5535c9da9f3d778d787b7ae0e4e91be1965b9927bece0f312bd194f268
BLAKE2b-256 checksum
How to use checksums
a1cb54495423e9653b46e3c9be384a114dc1f7f02360f4eddaca6aa1fb183065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / craynn-0.4.0-py3-none-any.whl

Download URL craynn-0.4.0-py3-none-any.whl
Size 63.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1630cf0257e7aecf47146b35402d1978642d87399628f8fed829b5bda6a97569
BLAKE2b-256 checksum
How to use checksums
fd9bcf255f83b36eab815842cf0f224bfd4dbd0fb4d01e80260fd0f9c9aff9d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for craynn 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page