Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# ProcessingUnit Enumeration

Namespace: id3.Face

## Definition

Enumerates the processing units for the inference of AI models.
Python

    class ProcessingUnit

Dart

    enum ProcessingUnit

C#

    public enum ProcessingUnit

Java

    public enum ProcessingUnit

Swift

    public enum ProcessingUnit

C

    typedef enum id3FaceProcessingUnit

## Fields

Name | Value | Description
--- | --- | ---
`cpu` | 0 | CPU.
`gpu` | 1 | GPU (automatic backend selection).
`opencl` | 2 | OpenCL Backend.
`cuda` | 3 | CUDA Backend.
`metal` | 4 | Metal Backend.
`vulkan` | 5 | Vulkan Backend.