public static enum OpExecutioner.ExecutionerType extends Enum<OpExecutioner.ExecutionerType>
Enum Constant and Description |
---|
CUDA |
NATIVE_CPU |
Modifier and Type | Method and Description |
---|---|
static OpExecutioner.ExecutionerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpExecutioner.ExecutionerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpExecutioner.ExecutionerType NATIVE_CPU
public static final OpExecutioner.ExecutionerType CUDA
public static OpExecutioner.ExecutionerType[] values()
for (OpExecutioner.ExecutionerType c : OpExecutioner.ExecutionerType.values()) System.out.println(c);
public static OpExecutioner.ExecutionerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.