spatial_squeeze_excite_block#
- ctlearn.core.spatial_squeeze_excite_block(inputs, name=None)[source]#
A spatial squeeze-excite block.
This function creates a spatial squeeze-excite block that recalibrates the importance of each spatial location by using a convolutional layer with a sigmoid activation.
Parameters#
- inputskeras.layers.Layer
Input tensor to the squeeze-excite block.
- namestr, optional
Name for the squeeze-excite block. Default is None.
Returns#
- keras.layers.Layer
Output tensor for the spatial squeeze-excite block.