This release is a pre-release and may not be stable for production use.
primitiv: A Neural Network Toolkit. (Python frontend)
Features
Dynamic and incremental graph construction
On-demand memory allocation
Automatic minibatch broadcasting
Mostly device-independent
Simple usage
Install
Prerequisites:
Python 3 (3.5 or later)
NumPy (1.11.0 or later)
Cython (0.27 or later)
CMake (3.1.0 or later)
scikit-build (0.6.1 or later)
(optional) CUDA (7.5 or later)
(optional) OpenCL (1.2 or later) and OpenCL C++ binding v2
Install dependencies:
pip3 install numpy cython cmake scikit-build
Build and install primitiv without CUDA and OpenCL:
pip3 install primitiv
Build and install primitiv with CUDA and/or OpenCL support:
# Enable only CUDA pip3 install primitiv --global-option --enable-cuda # Enable both CUDA and OpenCL pip3 install primitiv --global-option --enable-cuda --global-option --enable-opencl
Notes
For now, we provide only a source pacakge, and pip command downloads a source package and builds it before installing. This is useful for users to install this library with CUDA/OpenCL backends while keeping compatibility with the manylinux1 standard described in PEP 513.
Resources
Metadata
Release files for primitiv 0.4.0.dev148
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| primitiv-0.4.0.dev148.tar.gz | 178.2 kB | Details |
Release files / primitiv-0.4.0.dev148.tar.gz
| Download URL | primitiv-0.4.0.dev148.tar.gz |
|---|---|
| Size | 178.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d0e2cedd2ceae65dc2ac2eec8904acd09b7b116da7a9b9ea9679c93f953d477
|
|
BLAKE2b-256 checksum How to use checksums |
36e524a1da8e0242207b6a4d405e5551e95fb2af54c6c02ac7afc6bd58ea74f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |