@Namespace(value="at") public static enum torch.RecordScope extends Enum<torch.RecordScope>
| Enum Constant and Description |
|---|
BACKWARD_FUNCTION |
BUILD_FEATURE |
CUSTOM_CLASS |
FUNCTION |
KERNEL_FUNCTION_DTYPE |
LITE_INTERPRETER |
NUM_SCOPES |
STATIC_RUNTIME_MODEL |
STATIC_RUNTIME_OP |
TORCHSCRIPT_FUNCTION |
USER_SCOPE |
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
torch.RecordScope |
intern() |
String |
toString() |
static torch.RecordScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.RecordScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final torch.RecordScope FUNCTION
public static final torch.RecordScope BACKWARD_FUNCTION
public static final torch.RecordScope TORCHSCRIPT_FUNCTION
public static final torch.RecordScope KERNEL_FUNCTION_DTYPE
public static final torch.RecordScope CUSTOM_CLASS
public static final torch.RecordScope BUILD_FEATURE
public static final torch.RecordScope LITE_INTERPRETER
public static final torch.RecordScope USER_SCOPE
public static final torch.RecordScope STATIC_RUNTIME_OP
public static final torch.RecordScope STATIC_RUNTIME_MODEL
public static final torch.RecordScope NUM_SCOPES
public static torch.RecordScope[] values()
for (torch.RecordScope c : torch.RecordScope.values()) System.out.println(c);
public static torch.RecordScope 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.RecordScope intern()
public String toString()
toString in class Enum<torch.RecordScope>Copyright © 2024. All rights reserved.