This release is a pre-release and may not be stable for production use.
DeepCL Python wrappers
Python wrapper for DeepCL
Pre-requisites
You must have first installed and activated DeepCL native libraries, see Build.md
To install from pip
pip install --pre --upgrade DeepCL
related pypi page: https://pypi.python.org/pypi/DeepCL
How to use
See test_deepcl.py for an example of:
creating a network, with several layers
loading mnist data
training the network using a higher-level interface (NetLearner)
The same example, using numpy arrays: test_deepcl_numpy.py
For examples of using lower-level entrypoints, see test_lowlevel.py:
creating layers directly
running epochs and forward/backprop directly
note that you need numpy installed to run this example
For example of using q-learning, see test_qlearning.py.
To install from source
Pre-requisites:
on Windows:
Python 2.7 or Python 3.4
A compiler:
Python 2.7 build: need Visual Studio 2008 for Python 2.7 from Microsoft
Python 3.4 build: need Visual Studio 2010, eg Visual C++ 2010 Express
on linux:
Python 2.7 or Python 3.4
g++, supporting c++0x, eg 4.4 or higher
have first already built the native libraries, see Build.md
have activated the native library installation, ie called dist/bin/activate.sh, or dist/bin/activate.bat
To install:
cd python
python setup.py install
Changes
25 July 2016:
added RandomSingleton class, to set the seed for weights initialization
added xor.py example
Metadata
Release files for DeepCL 8.4.0alpha4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DeepCL-8.4.0alpha4.tar.gz | 141.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DeepCL-8.4.0alpha4-py3.4-linux-i686.egg | Legacy Egg format | - | - | Details |
| DeepCL-8.4.0alpha4-py2.7-linux-x86_64.egg | Legacy Egg format | - | - | Details |
| DeepCL-8.4.0alpha4-py2.7-linux-i686.egg | Legacy Egg format | - | - | Details |
Total release size: 1.6 MB
Release files / DeepCL-8.4.0alpha4.tar.gz
| Download URL | DeepCL-8.4.0alpha4.tar.gz |
|---|---|
| Size | 141.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b85062198d22617a976830b796892ab14c1ec399985818ffeb280e796024b28b
|
|
BLAKE2b-256 checksum How to use checksums |
a303e0b0e795b7a784d538808bccc0639323dec8cf56149a5afbf293a67b083c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-8.4.0alpha4-py3.4-linux-i686.egg
| Download URL | DeepCL-8.4.0alpha4-py3.4-linux-i686.egg |
|---|---|
| Size | 484.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
faec0a01ee9a68f57ab0b956d3017877e0fde785290d6e0d625f461034441235
|
|
BLAKE2b-256 checksum How to use checksums |
878ecd8b5b6e338d9fe93efaede7c1e996657863a23e500a11e97ee5af33f38c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-8.4.0alpha4-py2.7-linux-x86_64.egg
| Download URL | DeepCL-8.4.0alpha4-py2.7-linux-x86_64.egg |
|---|---|
| Size | 474.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6d04e39f38df493aa87a3dec7295ba1c43b5a6df3402c48d192153bb3d1b33e4
|
|
BLAKE2b-256 checksum How to use checksums |
375e290f3d34bf7c67fa36b72eb213e8da1b7739608e905c81cf202d790ef856
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-8.4.0alpha4-py2.7-linux-i686.egg
| Download URL | DeepCL-8.4.0alpha4-py2.7-linux-i686.egg |
|---|---|
| Size | 452.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
79ecfbc362cc209ef5283767d68f417d8e8535f63f8e01add3e71fc23a57f5ce
|
|
BLAKE2b-256 checksum How to use checksums |
2d6276d9d2f83b513512061b91bcaea2348b7e2736e02bf092520f1309cfaf49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |