Package org.robovm.apple.metalps
Enum MPSCNNNeuronType
- java.lang.Object
-
- java.lang.Enum<MPSCNNNeuronType>
-
- org.robovm.apple.metalps.MPSCNNNeuronType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MPSCNNNeuronType>
,org.robovm.rt.bro.ValuedEnum
public enum MPSCNNNeuronType extends java.lang.Enum<MPSCNNNeuronType> implements org.robovm.rt.bro.ValuedEnum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static MPSCNNNeuronType
valueOf(long n)
Returns the enum constant of this type with the specified name.static MPSCNNNeuronType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MPSCNNNeuronType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final MPSCNNNeuronType None
- Since:
- Available in iOS 11.0 and later.
-
ReLU
public static final MPSCNNNeuronType ReLU
- Since:
- Available in iOS 11.0 and later.
-
Linear
public static final MPSCNNNeuronType Linear
- Since:
- Available in iOS 11.0 and later.
-
Sigmoid
public static final MPSCNNNeuronType Sigmoid
- Since:
- Available in iOS 11.0 and later.
-
HardSigmoid
public static final MPSCNNNeuronType HardSigmoid
- Since:
- Available in iOS 11.0 and later.
-
TanH
public static final MPSCNNNeuronType TanH
- Since:
- Available in iOS 11.0 and later.
-
Absolute
public static final MPSCNNNeuronType Absolute
- Since:
- Available in iOS 11.0 and later.
-
SoftPlus
public static final MPSCNNNeuronType SoftPlus
- Since:
- Available in iOS 11.0 and later.
-
SoftSign
public static final MPSCNNNeuronType SoftSign
- Since:
- Available in iOS 11.0 and later.
-
ELU
public static final MPSCNNNeuronType ELU
- Since:
- Available in iOS 11.0 and later.
-
PReLU
public static final MPSCNNNeuronType PReLU
- Since:
- Available in iOS 11.0 and later.
-
ReLUN
public static final MPSCNNNeuronType ReLUN
- Since:
- Available in iOS 11.0 and later.
-
Power
public static final MPSCNNNeuronType Power
- Since:
- Available in iOS 11.3 and later.
-
Exponential
public static final MPSCNNNeuronType Exponential
- Since:
- Available in iOS 11.3 and later.
-
Logarithm
public static final MPSCNNNeuronType Logarithm
- Since:
- Available in iOS 11.3 and later.
-
Count
public static final MPSCNNNeuronType Count
- Since:
- Available in iOS 11.0 and later.
-
-
Method Detail
-
values
public static MPSCNNNeuronType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MPSCNNNeuronType c : MPSCNNNeuronType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MPSCNNNeuronType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.ValuedEnum
-
valueOf
public static MPSCNNNeuronType valueOf(long n)
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:
n
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-