Class StochasticDepth
java.lang.Object
smile.vision.layer.StochasticDepth
-
Constructor Details
-
StochasticDepth
Constructor.- Parameters:
p- the number of channels in the input image.mode- "batch" or "row". "batch" randomly zeroes the entire input, "row" zeroes randomly selected rows from the batch.
-
-
Method Details
-
asTorch
-
forward
-