Package org.deeplearning4j.iterator
Enum BertIterator.UnsupervisedLabelFormat
- java.lang.Object
-
- java.lang.Enum<BertIterator.UnsupervisedLabelFormat>
-
- org.deeplearning4j.iterator.BertIterator.UnsupervisedLabelFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<BertIterator.UnsupervisedLabelFormat>
- Enclosing class:
- BertIterator
public static enum BertIterator.UnsupervisedLabelFormat extends Enum<BertIterator.UnsupervisedLabelFormat>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BertIterator.UnsupervisedLabelFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static BertIterator.UnsupervisedLabelFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RANK2_IDX
public static final BertIterator.UnsupervisedLabelFormat RANK2_IDX
-
RANK3_NCL
public static final BertIterator.UnsupervisedLabelFormat RANK3_NCL
-
RANK3_LNC
public static final BertIterator.UnsupervisedLabelFormat RANK3_LNC
-
-
Method Detail
-
values
public static BertIterator.UnsupervisedLabelFormat[] 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 (BertIterator.UnsupervisedLabelFormat c : BertIterator.UnsupervisedLabelFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BertIterator.UnsupervisedLabelFormat valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-