Class SqueezeExcitation
java.lang.Object
smile.deep.layer.LayerBlock
smile.vision.layer.SqueezeExcitation
Squeeze-and-Excitation block from "Squeeze-and-Excitation Networks".
- 
Field SummaryFields inherited from class LayerBlockdevice, dtype, module
- 
Constructor SummaryConstructorsConstructorDescriptionSqueezeExcitation(int inputChannels, int squeezeChannels) Constructor.SqueezeExcitation(int inputChannels, int squeezeChannels, ActivationFunction delta, ActivationFunction sigma) Constructor.
- 
Method SummaryMethods inherited from class LayerBlockadd, add, asTorch, device, dtype, eval, isTraining, load, save, to, to, toString, train
- 
Constructor Details- 
SqueezeExcitationpublic SqueezeExcitation(int inputChannels, int squeezeChannels) Constructor.- Parameters:
- inputChannels- the number of channels in the input image.
- squeezeChannels- the number of squeeze channels.
 
- 
SqueezeExcitationpublic SqueezeExcitation(int inputChannels, int squeezeChannels, ActivationFunction delta, ActivationFunction sigma) Constructor.- Parameters:
- inputChannels- the number of channels in the input image.
- squeezeChannels- the number of squeeze channels.
- delta- the delta activation function.
- sigma- the sigma activation function.
 
 
- 
- 
Method Details- 
forward
 
-