Class StochasticDepth
java.lang.Object
smile.vision.layer.StochasticDepth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionForward propagation (or forward pass) through the layer.module()Returns the nativeST_Modulehandle for this layer.
-
Constructor Details
-
StochasticDepth
Constructor.- Parameters:
p- the drop probability. Must be in [0, 1].mode- "batch" or "row". "batch" randomly zeroes the entire input, "row" zeroes randomly selected rows from the batch.
-
-
Method Details