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