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
30 July 2016:
Added net.getNetdef(). Note that this is only an approximate representation of the network
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 11.3.1
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-11.3.1.tar.gz | 156.6 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| DeepCL-11.3.1-py3.5-win-amd64.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py3.5-win32.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py3.4-linux-x86_64.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py3.4-linux-i686.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py2.7-win-amd64.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py2.7-win32.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py2.7-linux-x86_64.egg | Legacy Egg format | - | - | Details |
| DeepCL-11.3.1-py2.7-linux-i686.egg | Legacy Egg format | - | - | Details |
Total release size: 2.8 MB
Release files / DeepCL-11.3.1.tar.gz
| Download URL | DeepCL-11.3.1.tar.gz |
|---|---|
| Size | 156.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92e2ab365ab09864f692b7fecbd81eba46564f41aabc98396dc9899477da950c
|
|
BLAKE2b-256 checksum How to use checksums |
a101a5303c202123101bd3b7849579b260395efb4ee67fb0bbf5eb065842352c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py3.5-win-amd64.egg
| Download URL | DeepCL-11.3.1-py3.5-win-amd64.egg |
|---|---|
| Size | 129.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e9fc993e816f5ac0cedf962f691385ec8c6e664bbfc6b46654787ad6f5a9fa05
|
|
BLAKE2b-256 checksum How to use checksums |
407fa800f2c5bffc4493e3c94d08e09d6769cfb523739e980296a59283116a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py3.5-win32.egg
| Download URL | DeepCL-11.3.1-py3.5-win32.egg |
|---|---|
| Size | 102.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
8e6542f6c5e5d3161e7c2d5ae1d9578008a3fc90f0933249bec690384a5a5a39
|
|
BLAKE2b-256 checksum How to use checksums |
7625345fc56c0f01ec538a3b0de0191bf25b58540d87456f21ef61127b655ee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py3.4-linux-x86_64.egg
| Download URL | DeepCL-11.3.1-py3.4-linux-x86_64.egg |
|---|---|
| Size | 583.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
5e1f191bb57766cd878a35047ad1f67568b16a0ff711a5771ea0f1e0675c9a02
|
|
BLAKE2b-256 checksum How to use checksums |
4fc5834267348b6ab935deac08852c3c6268fd4b78d065a048a9745767d46449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py3.4-linux-i686.egg
| Download URL | DeepCL-11.3.1-py3.4-linux-i686.egg |
|---|---|
| Size | 544.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
44e5b45134ce22694eb478f84946e9993bdf5f9c1c4b9aba81d25bb149a8b7b8
|
|
BLAKE2b-256 checksum How to use checksums |
71bcd7f7fec4d1cc88ef9b569c11b7211cb5555702c8e43c5068533e04eab4a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py2.7-win-amd64.egg
| Download URL | DeepCL-11.3.1-py2.7-win-amd64.egg |
|---|---|
| Size | 132.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ab83786aa8df92a9d1b646cb2c66482b6d3b4c88fd7ea9523c5cce954363f411
|
|
BLAKE2b-256 checksum How to use checksums |
00bbf2365ed5e89013bda5c9fd76b6de53e9e317d0def980105c705ae75315ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py2.7-win32.egg
| Download URL | DeepCL-11.3.1-py2.7-win32.egg |
|---|---|
| Size | 104.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e349eddc6125ae6549f752b9b5fecedd70606a2e760de264895779c03ccfd8a8
|
|
BLAKE2b-256 checksum How to use checksums |
ce850a73ff3782997e765bbc8e17319d8fe5e7bd48c8a28dbc389898b5d6b1ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py2.7-linux-x86_64.egg
| Download URL | DeepCL-11.3.1-py2.7-linux-x86_64.egg |
|---|---|
| Size | 543.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e4b3aec1a3e386f9a1fd9394ec45dc1b3ae32c6a87be14253099c55634a844f6
|
|
BLAKE2b-256 checksum How to use checksums |
c86ceb7ba76b581c312ba80abd1d9034a80e108d07251f82b92029d0f630bbb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / DeepCL-11.3.1-py2.7-linux-i686.egg
| Download URL | DeepCL-11.3.1-py2.7-linux-i686.egg |
|---|---|
| Size | 506.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
a583b32818e1646e30e5369921ad74489b46407ec4f5dcfe7a823969031b7f4a
|
|
BLAKE2b-256 checksum How to use checksums |
4e39d8091f608c9aa613498b35f693fb397eb51b85044aac13f05b76c003608d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for DeepCL 11.3.1
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.