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