Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Get the NnpiCounters for an integer value
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
NNPA_ADD
Constant: 0x01 = 1
NNPA_SUB
Constant: 0x02 = 2
NNPA_MUL
Constant: 0x03 = 3
NNPA_DIV
Constant: 0x04 = 4
NNPA_MIN
Constant: 0x05 = 5
NNPA_MAX
Constant: 0x06 = 6
NNPA_LOG
Constant: 0x07 = 7
NNPA_EXP
Constant: 0x08 = 8
NNPA_RELU
Constant: 0x0A = 10
NNPA_TANH
Constant: 0x0B = 11
NNPA_SIGMOID
Constant: 0x0C = 12
NNPA_SOFTMAX
Constant: 0x0D = 13
NNPA_BATCHNORM
Constant: 0x0E = 14
NNPA_MAXPOOL2D
Constant: 0x0F = 15
NNPA_AVGPOOL2D
Constant: 0x10 = 16
NNPA_LSTMACT
Constant: 0x11 = 17
NNPA_GRUACT
Constant: 0x12 = 18
NNPA_CONVOLUTION
Constant: 0x13 = 19
NNPA_MATMUL_OP
Constant: 0x14 = 20
NNPA_MATMUL_OP_BCAST23
Constant: 0x15 = 21
NNPA_Small_Batch
Constant: 0x16 = 22
NNPA_Large_Dimension
Constant: 0x17 = 23
NNPA_Very_Small_Tensor
Constant: 0x18 = 24
NNPA_1M_Frame_Suitable
Constant: 0x19 = 25
NNPA_2G_Frame_Suitable
Constant: 0x1A = 26
NNPA_Access_Exception
Constant: 0x1B = 27
NOT_DEFINED
Not recognized
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
from
Get the NnpiCounters for an integer value
Parameters:
value
- the integer value
Returns:
the corresponding NnpiCounters