Package smile.vision.layer
Class Conv2dNormActivation
java.lang.Object
smile.deep.layer.LayerBlock
smile.deep.layer.SequentialBlock
smile.vision.layer.Conv2dNormActivation
Convolution2d-Normalization-Activation block.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Conv2dNormActivation configurations. -
Field Summary
Fields inherited from class smile.deep.layer.LayerBlock
device, dtype, module
-
Constructor Summary
-
Method Summary
Methods inherited from class smile.deep.layer.SequentialBlock
add
Methods inherited from class smile.deep.layer.LayerBlock
add, add, asTorch, device, dtype, eval, isTraining, load, save, to, to, train
-
Constructor Details
-
Conv2dNormActivation
Constructor.- Parameters:
options
- the layer block configuration.
-
-
Method Details
-
toString
- Overrides:
toString
in classLayerBlock
-
forward
Description copied from interface:Layer
Forward propagation (or forward pass) through the layer.- Specified by:
forward
in interfaceLayer
- Overrides:
forward
in classSequentialBlock
- Parameters:
input
- the input tensor.- Returns:
- the output tensor.
-