Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.7 KB

ext.rst

File metadata and controls

50 lines (32 loc) · 1.7 KB

Extensions

NNabla offers easy extensibility for developers to add new device extensions. The NNabla Python package officially supports the cpu, cuda and cudnn extension, cuda and cudnn extension can dramatically accelerate computation by leveraging NVIDIA CUDA GPUs with cuDNN computation primitives.

You can manually import extensions by:

import nnabla_ext.cudnn

See :ref:`python-package-installation` to install the CUDA extension.

Utilities for extension

nnabla.ext_utils

list_extensions

import_extension_module

get_extension_context

APIs of extension modules

All extension modules must have the following functions.