Backend

class minkit.Backend(btype='cpu', **kwargs)[source]

Bases: object

Object used in order to do operations with objects of the minkit module. Any object depending on a backend can be directly built using this class, which will forward itself during its construction.

Parameters
  • btype (str) – backend type (‘cpu’, ‘cuda’, ‘opencl’).

  • kwargs (dict) – arguments forwarded to the backend constructor (cuda and opencl backends only). See below for more details.

The keyword arguments can contain any of the following: * device * interactive These arguments are only available in cuda and opencl backends only.

Attributes Summary

aop

Object to do operations on arrays.

btype

Backend type.

Attributes Documentation

aop

Object to do operations on arrays.

Type

ArrayOperations

btype

Backend type.

Type

str