@Name(value="torch::jit::AttributeKind") public static enum torch.JitAttributeKind extends Enum<torch.JitAttributeKind>
Enum Constant and Description |
---|
c |
cs |
f |
fs |
g |
gs |
i |
is |
ival |
s |
ss |
t |
ts |
ty |
tys |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
torch.JitAttributeKind |
intern() |
String |
toString() |
static torch.JitAttributeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.JitAttributeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final torch.JitAttributeKind f
public static final torch.JitAttributeKind fs
public static final torch.JitAttributeKind c
public static final torch.JitAttributeKind cs
public static final torch.JitAttributeKind i
public static final torch.JitAttributeKind is
public static final torch.JitAttributeKind s
public static final torch.JitAttributeKind ss
public static final torch.JitAttributeKind t
public static final torch.JitAttributeKind ts
public static final torch.JitAttributeKind g
public static final torch.JitAttributeKind gs
public static final torch.JitAttributeKind ty
public static final torch.JitAttributeKind tys
public static final torch.JitAttributeKind ival
public static torch.JitAttributeKind[] values()
for (torch.JitAttributeKind c : torch.JitAttributeKind.values()) System.out.println(c);
public static torch.JitAttributeKind 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.JitAttributeKind intern()
public String toString()
toString
in class Enum<torch.JitAttributeKind>
Copyright © 2024. All rights reserved.