This release is a pre-release and may not be stable for production use.
Python wrapper for DeepCL
Pre-requisites
You must have first installed and activated DeepCL native libraries, see Build.md
numpy
To install from pip
pip install --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)
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 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
numpy installed
To install:
cd python
python setup.py install
Changes
29 July 2016:
New feature: can provide image tensor as 4d tensor now ,instead of 1d tensor (1d tensor ok too)
CHANGE: all image and label tensors must be provided as numpy tensors now, array.array no longer valid input
bug fix: qlearning works again :-)
25 July 2016:
added RandomSingleton class, to set the seed for weights initialization
added xor.py example
Metadata
Release files for DeepCL 9.0.0alpha2
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 | |
|---|---|---|---|---|
| DeepCL-9.0.0alpha2.tar.gz | 147.6 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| DeepCL-9.0.0alpha2-py3.4-linux-x86_64.egg | Legacy Egg format | - | - | Details |
| DeepCL-9.0.0alpha2-py3.4-linux-i686.egg | Legacy Egg format | - | - | Details |
| DeepCL-9.0.0alpha2-py2.7-linux-x86_64.egg | Legacy Egg format | - | - | Details |
| DeepCL-9.0.0alpha2-py2.7-linux-i686.egg | Legacy Egg format | - | - | Details |
Total release size: 2.2 MB
Release files / DeepCL-9.0.0alpha2.tar.gz
| Download URL | DeepCL-9.0.0alpha2.tar.gz |
|---|---|
| Size | 147.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fec1385bc74edc4ffd88443447bf5d4cbbd6ad093bf950ba6173ad888a8cd9dc
|
|
BLAKE2b-256 checksum How to use checksums |
80427280937e14f855d214a6651f2fc7364da625458fb86e01b162eff0f9d6e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-9.0.0alpha2-py3.4-linux-x86_64.egg
| Download URL | DeepCL-9.0.0alpha2-py3.4-linux-x86_64.egg |
|---|---|
| Size | 541.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
633cf4236defb7590ec47e741dd37ce165fd4ef83aa7c27c84404bf2c8547f13
|
|
BLAKE2b-256 checksum How to use checksums |
c1b01b6fbcd2387d07cca5cea63ffbcc9c4400bc2373f88e2fd782a0236334a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-9.0.0alpha2-py3.4-linux-i686.egg
| Download URL | DeepCL-9.0.0alpha2-py3.4-linux-i686.egg |
|---|---|
| Size | 502.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
3154222d80dfcb734e6b1bb2c9d3a1a6b0956834e2e13ec71051826c7a83dea0
|
|
BLAKE2b-256 checksum How to use checksums |
b90031d6a2060414fa7daafa2dd17cc88e70666afb26de3f8c4425c88de814ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-9.0.0alpha2-py2.7-linux-x86_64.egg
| Download URL | DeepCL-9.0.0alpha2-py2.7-linux-x86_64.egg |
|---|---|
| Size | 499.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
112d9d571a2172d43cad1c68c3bab0a199c4d7a7330a4a0aa2aaf70d2c2f67a5
|
|
BLAKE2b-256 checksum How to use checksums |
e36dab24c51a8a945394e3de1f23eceee31602f18d074d8a974285d2ff9efe4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-9.0.0alpha2-py2.7-linux-i686.egg
| Download URL | DeepCL-9.0.0alpha2-py2.7-linux-i686.egg |
|---|---|
| Size | 465.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2140ced0e3cf9b0f7350f489dfae7ae57e7e7d37dd46f5aee6c36e0a32465e34
|
|
BLAKE2b-256 checksum How to use checksums |
dc0e7a22dc2c2471a9792063b79a00a633ac213bd54c3cb040bd6cc7653b137d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for DeepCL 9.0.0alpha2
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.