Class MPSNNTrainingStyle
- java.lang.Object
-
- apple.metalperformanceshaders.enums.MPSNNTrainingStyle
-
public final class MPSNNTrainingStyle extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longCPUThe weight update pass will be called in a command buffer completion callback, with a nil command buffer API-Since: 11.3static longGPUThe weight update pass will be called immediately after the gradient pass is encoded, with a nonnull command buffer API-Since: 11.3static longNoneDo not train this node, for example in transfer learning API-Since: 11.3
-
-
-
Field Detail
-
None
public static final long None
Do not train this node, for example in transfer learning API-Since: 11.3- See Also:
- Constant Field Values
-
CPU
public static final long CPU
The weight update pass will be called in a command buffer completion callback, with a nil command buffer API-Since: 11.3- See Also:
- Constant Field Values
-
GPU
public static final long GPU
The weight update pass will be called immediately after the gradient pass is encoded, with a nonnull command buffer API-Since: 11.3- See Also:
- Constant Field Values
-
-