public static enum ConvolutionLayer.AlgoMode extends Enum<ConvolutionLayer.AlgoMode>
ConvolutionLayer.FwdAlgo,
ConvolutionLayer.BwdFilterAlgo, and ConvolutionLayer.BwdDataAlgo lists, but they may be very memory intensive, so if weird errors
occur when using cuDNN, please try the "NO_WORKSPACE" mode. Alternatively, it is possible to specify the
algorithm manually by setting the "USER_SPECIFIED" mode, but this is not recommended.
Note: Currently only supported with cuDNN.
| Enum Constant and Description |
|---|
NO_WORKSPACE |
PREFER_FASTEST |
USER_SPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static ConvolutionLayer.AlgoMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConvolutionLayer.AlgoMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConvolutionLayer.AlgoMode NO_WORKSPACE
public static final ConvolutionLayer.AlgoMode PREFER_FASTEST
public static final ConvolutionLayer.AlgoMode USER_SPECIFIED
public static ConvolutionLayer.AlgoMode[] values()
for (ConvolutionLayer.AlgoMode c : ConvolutionLayer.AlgoMode.values()) System.out.println(c);
public static ConvolutionLayer.AlgoMode 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 nullCopyright © 2020. All rights reserved.