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