DeepCL Python wrappers
Python wrapper for DeepCL
To install from pip
pip install 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)
For examples of using lower-level entrypoints, see test_lowlevel.py:
creating layers directly
running epochs and forward/backprop directly
For example of using q-learning, see test_qlearning.py.
To build 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
To build:
cd python
python setup.py build_ext -i
Then, you can run from this directory, by making sure to add it to the path, eg:
PYTHONPATH=. python test_lowlevel.py /my/mnist/data/dir
To install:
cd python
python setup.py install
Notes on how the wrapper works
cDeepCL.pxd contains the definitions of the underlying DeepCL c++ libraries classes
PyDeepCL.pyx contains Cython wrapper classes around the underlying c++ classes
setup.py is a setup file for compiling the PyDeepCL.pyx Cython file
to run unit-tests
From the python directory:
nosetests -sv
Development builds
If you want to modify the sourcecode, you’ll need to re-run cython, so you’ll need cython:
pip install cython
If you want to update this readme, you might want to re-generate the README.rst, so you’ll need pypandoc:
pip install pypandoc
(note that pypandoc depends on pandoc)
Metadata
Release files for DeepCL 6.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DeepCL-6.0.0.tar.gz | 440.3 kB | Without provenance | Details for DeepCL-6.0.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| DeepCL-6.0.0-py3.4-win-amd64.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py3.4-win-amd64.egg |
| DeepCL-6.0.0-py3.4-win32.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py3.4-win32.egg |
| DeepCL-6.0.0-py3.4-linux-x86_64.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py3.4-linux-x86_64.egg |
| DeepCL-6.0.0-py3.4-linux-i686.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py3.4-linux-i686.egg |
| DeepCL-6.0.0-py2.7-win-amd64.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py2.7-win-amd64.egg |
| DeepCL-6.0.0-py2.7-win32.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py2.7-win32.egg |
| DeepCL-6.0.0-py2.7-linux-x86_64.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py2.7-linux-x86_64.egg |
| DeepCL-6.0.0-py2.7-linux-i686.egg | Legacy Egg format | - | - | Details for DeepCL-6.0.0-py2.7-linux-i686.egg |
Total release size: 30.5 MB
Release files / DeepCL-6.0.0.tar.gz
| Download URL | DeepCL-6.0.0.tar.gz |
|---|---|
| Size | 440.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df7431edbb9ba10384833a2f016877a3bf957ee65d86c731594952b9357e7802
|
|
BLAKE2b-256 checksum How to use checksums |
c007e45581fedb4b22f40f499e87c71a983bf0dd50108a9ca6e2a6dc6dc462c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py3.4-win-amd64.egg
| Download URL | DeepCL-6.0.0-py3.4-win-amd64.egg |
|---|---|
| Size | 387.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
01e212c67d24d6351c0bd3166a95cc0896191db091743f8ae293bd486b649a3b
|
|
BLAKE2b-256 checksum How to use checksums |
5157ed56cd5a293aa4476451bba669bb47d10b86c56decfafe4cb6da6321f6cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py3.4-win32.egg
| Download URL | DeepCL-6.0.0-py3.4-win32.egg |
|---|---|
| Size | 331.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2b4776770c42c81fead551ad04b55f5922a33e7cfcdc9a97cec6d6b880e8cf04
|
|
BLAKE2b-256 checksum How to use checksums |
bd3e191486923d7f830e34a799125b5a65ec76486b9e17c25eafdd37f8bc010d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py3.4-linux-x86_64.egg
| Download URL | DeepCL-6.0.0-py3.4-linux-x86_64.egg |
|---|---|
| Size | 7.3 MB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ddad06f68959ca54d5418580ddee52c2a282d8e540b549a435e04d8090259440
|
|
BLAKE2b-256 checksum How to use checksums |
d82dd094c0d63dd26663d8ab9132ab687d7b00ae4d1e80fbc4c5777d39cc6c1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py3.4-linux-i686.egg
| Download URL | DeepCL-6.0.0-py3.4-linux-i686.egg |
|---|---|
| Size | 7.0 MB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6a168f77ef95b7811c94ddb6580172494b20220ef9714f9bf3a087ded486fe61
|
|
BLAKE2b-256 checksum How to use checksums |
1baa767e81169b42fe84502e90d9cbf8be63d49fc508b2891ba0eeee5190f430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py2.7-win-amd64.egg
| Download URL | DeepCL-6.0.0-py2.7-win-amd64.egg |
|---|---|
| Size | 403.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
cdb73b469184b571fbaadb784766556934fbe0d10774982f7a0e744d6b7a0851
|
|
BLAKE2b-256 checksum How to use checksums |
939710f737862d278171a85afa516774aabcabe2bc9bada2d2bb2151e885b8b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py2.7-win32.egg
| Download URL | DeepCL-6.0.0-py2.7-win32.egg |
|---|---|
| Size | 312.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b70c56425ffda8753260b7c88046dce2ee5ec6fd6986c56ba49853fe025c44f1
|
|
BLAKE2b-256 checksum How to use checksums |
295421e2891c4112e934e805f3becd880611f21ff34302c5fd01fd7927e53e43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py2.7-linux-x86_64.egg
| Download URL | DeepCL-6.0.0-py2.7-linux-x86_64.egg |
|---|---|
| Size | 7.3 MB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b7ed835e6ddfcaf81c2f37aa0db4ff67ad8f3652d21c5470faaf424d5b8904af
|
|
BLAKE2b-256 checksum How to use checksums |
8d1f976584ecd7af4cda6fbd075c1f34408b2f1c7d45ca0cbc26ec8d1263eb97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-6.0.0-py2.7-linux-i686.egg
| Download URL | DeepCL-6.0.0-py2.7-linux-i686.egg |
|---|---|
| Size | 7.0 MB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2abe9cba1d8b945e14d86ec70b69635ae87fae98ec2cc2d19810c5175ed91181
|
|
BLAKE2b-256 checksum How to use checksums |
9aa2c75aeb82d46b0101df34ced85e7dc4ad9afaf8f342be55ba1c7e01785fac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for DeepCL 6.0.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.