@Namespace(value="c10") public static enum torch.IListRefTag extends Enum<torch.IListRefTag>
Enum Constant and Description |
---|
DEFINE_TAG |
None |
TORCH_ILISTREF_FORALL_TAGS |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
torch.IListRefTag |
intern() |
String |
toString() |
static torch.IListRefTag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.IListRefTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final torch.IListRefTag TORCH_ILISTREF_FORALL_TAGS
public static final torch.IListRefTag DEFINE_TAG
public static final torch.IListRefTag None
public static torch.IListRefTag[] values()
for (torch.IListRefTag c : torch.IListRefTag.values()) System.out.println(c);
public static torch.IListRefTag 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 nullpublic torch.IListRefTag intern()
public String toString()
toString
in class Enum<torch.IListRefTag>
Copyright © 2024. All rights reserved.