Class FusedMBConv
java.lang.Object
smile.deep.layer.LayerBlock
smile.vision.layer.FusedMBConv
Fused-MBConv replaces the depthwise-conv3×3 and expansion-conv1×1
in MBConv with single regular conv3×3.
-
Field Summary
Fields inherited from class LayerBlock
device, dtype, module -
Constructor Summary
ConstructorsConstructorDescriptionFusedMBConv(MBConvConfig config, double stochasticDepthProb, IntFunction<Layer> normLayer) Constructor. -
Method Summary
Methods inherited from class LayerBlock
add, add, asTorch, device, dtype, eval, isTraining, load, save, to, to, toString, train
-
Constructor Details
-
FusedMBConv
Constructor.- Parameters:
config- block configuration.stochasticDepthProb- the probability of the input to be zeroed in stochastic depth layer.normLayer- the functor to create the normalization layer.
-
-
Method Details
-
forward
-