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