Skip to main content

primitiv: A Neural Network Toolkit. (Python frontend)

Project description

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)

  • scikit-build (0.6.1 or later, only for building)

  • (optional) CUDA (7.5 or later)

  • (optional) OpenCL (1.2 or later) and OpenCL C++ binding v2

Install dependencies:

pip3 install numpy cython scikit-build

Install primitiv without CUDA and OpenCL:

pip3 install primitiv

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

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

primitiv-0.3.1.dev120.tar.gz (154.8 kB view details)

Uploaded Source

File details

Details for the file primitiv-0.3.1.dev120.tar.gz.

File metadata

File hashes

Hashes for primitiv-0.3.1.dev120.tar.gz
Algorithm Hash digest
SHA256 385c9edc1e7bc72a7bebd54072d95f1483afa284605f923fd6c3973ec1b45195
MD5 65c0ff2da8475a653a190a02897b4ca9
BLAKE2b-256 b6ae113fcbe896d97c20b7c5433d5f6c0e01c4dc0171dab636c7d6a5383442e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page