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.0.83.tar.gz (154.5 kB view details)

Uploaded Source

File details

Details for the file primitiv-0.3.0.83.tar.gz.

File metadata

  • Download URL: primitiv-0.3.0.83.tar.gz
  • Upload date:
  • Size: 154.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for primitiv-0.3.0.83.tar.gz
Algorithm Hash digest
SHA256 c4c708c0a10b6376b395b57a975032c976d52f9c23edc5bdf21e0cab08dee05b
MD5 2f2ddee8307636b170d19c0cd8d6ea98
BLAKE2b-256 5cd0b426eef8f7213290d8d31c36b88c60ee45614e50734fc02148cd6eccdc04

See more details on using hashes here.

Supported by

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