Backend¶
-
class
minkit.Backend(btype='cpu', **kwargs)[source]¶ Bases:
objectObject used in order to do operations with objects of the
minkitmodule. Any object depending on a backend can be directly built using this class, which will forward itself during its construction.Parameters: The keyword arguments can contain any of the following:
- device: and integer defining the device to use.
- interactive: whether to ask the user to select or correct the input device or not. If any problem appears and this argument is set to False (default), the first encountered device will be used and a warning will be displayed.
These arguments are only available in cuda and opencl backends only.
Attributes Summary
aopObject to do operations on arrays. btypeBackend type. Attributes Documentation
-
aop¶ Object to do operations on arrays.
Type: ArrayOperations