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.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-8.4.0alpha2.tar.gz | 141.3 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DeepCL-8.4.0alpha2-py3.4-linux-i686.egg | Legacy Egg format | - | - | Details |
| DeepCL-8.4.0alpha2-py2.7-linux-x86_64.egg | Legacy Egg format | - | - | Details |
| DeepCL-8.4.0alpha2-py2.7-linux-i686.egg | Legacy Egg format | - | - | Details |
Total release size: 1.6 MB
Release files / DeepCL-8.4.0alpha2.tar.gz
| Download URL | DeepCL-8.4.0alpha2.tar.gz |
|---|---|
| Size | 141.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86098e81df15e7268e2f936d40113aa973b92049a903a109bb2adfff142670c1
|
|
BLAKE2b-256 checksum How to use checksums |
cdbeba160bbe3fc02be1f2146f06e9c79380b4642263d1500a79929229e3b2b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-8.4.0alpha2-py3.4-linux-i686.egg
| Download URL | DeepCL-8.4.0alpha2-py3.4-linux-i686.egg |
|---|---|
| Size | 484.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f9a6530975e7c3b1d82b2cecc4a9feb2810aaa69fe2157018d4334619a581142
|
|
BLAKE2b-256 checksum How to use checksums |
71433e40fc32ae6726603738dd0e71a2e9550a40f982acdff8a497bc5b9dc8fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-8.4.0alpha2-py2.7-linux-x86_64.egg
| Download URL | DeepCL-8.4.0alpha2-py2.7-linux-x86_64.egg |
|---|---|
| Size | 474.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4ada7c7242b2cd8947ff7e1412cae5e7930f6b05ad7ce9d2ffad2be0dab87ed4
|
|
BLAKE2b-256 checksum How to use checksums |
ea722d5b7ec0896bfa2de5adff4ad7a7f6ac5793bcd4d37bf01e72b90156c2b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-8.4.0alpha2-py2.7-linux-i686.egg
| Download URL | DeepCL-8.4.0alpha2-py2.7-linux-i686.egg |
|---|---|
| Size | 452.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6972589f468f9fafd74ca38a9b631cbba0a98be7b88d3d4a270421cdc390799a
|
|
BLAKE2b-256 checksum How to use checksums |
f25dbf37ff105380093a00740dea07862a085ebe4703d2f1cef5839fd6052559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for DeepCL 8.4.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.