Package org.deeplearning4j.iterator
Enum BertIterator.Task
- java.lang.Object
-
- java.lang.Enum<BertIterator.Task>
-
- org.deeplearning4j.iterator.BertIterator.Task
-
- All Implemented Interfaces:
Serializable
,Comparable<BertIterator.Task>
- Enclosing class:
- BertIterator
public static enum BertIterator.Task extends Enum<BertIterator.Task>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SEQ_CLASSIFICATION
UNSUPERVISED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BertIterator.Task
valueOf(String name)
Returns the enum constant of this type with the specified name.static BertIterator.Task[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSUPERVISED
public static final BertIterator.Task UNSUPERVISED
-
SEQ_CLASSIFICATION
public static final BertIterator.Task SEQ_CLASSIFICATION
-
-
Method Detail
-
values
public static BertIterator.Task[] 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.Task c : BertIterator.Task.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.Task 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
-
-