public class AiliaEnvironment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
backend
Computational (hardware) backend enabled by this environment (BACKEND_XXX)
|
static int |
BACKEND_CUDA |
static int |
BACKEND_MPS |
static int |
BACKEND_NONE |
static int |
BACKEND_VULKAN |
int |
id
The ID to identify the inference backend (passed to
Ailia.Create(int, int) as an argument) |
java.lang.String |
name
The device name.
|
static int |
PROPERTY_FP16 |
static int |
PROPERTY_LOWPOWER |
static int |
PROPERTY_NORMAL |
int |
props
Additional property (low-power etc) of the environment (Logical-OR of PROPERTY_XXX)
|
int |
type
The type of the inference backend (TYPE_CPU, BLAS, or GPU)
|
static int |
TYPE_BLAS |
static int |
TYPE_CPU |
static int |
TYPE_GPU |
static int |
TYPE_REMOTE |
static int |
version |
Constructor and Description |
---|
AiliaEnvironment(int id,
int type,
java.lang.String name,
int backend,
int props) |
public static final int version
public static final int TYPE_CPU
public static final int TYPE_BLAS
public static final int TYPE_GPU
public static final int TYPE_REMOTE
public static final int BACKEND_NONE
public static final int BACKEND_CUDA
public static final int BACKEND_MPS
public static final int BACKEND_VULKAN
public static final int PROPERTY_NORMAL
public static final int PROPERTY_LOWPOWER
public static final int PROPERTY_FP16
public int id
Ailia.Create(int, int)
as an argument)public int type
public java.lang.String name
public int backend
public int props