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