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