delta.model.contracting_block¶
- delta.model.contracting_block(input_layer: Tensor, filters: int, conv2d_parameters: Dict, dropout: float = 0, name: str = 'Contracting') Tensor¶
A block of layers for 1 contracting level of the U-Net
- Parameters
- input_layertf.Tensor
The convolutional layer that is the output of the upper level’s contracting block.
- filtersint
filters input for the Conv2D layers of the block.
- conv2d_parametersdict()
kwargs for the Conv2D layers of the block.
- dropoutfloat, optional
Dropout layer rate in the block. Valid range is [0,1). If 0, no dropout layer is added. The default is 0
- namestr, optional
Name prefix for the layers in this block. The default is “Contracting”.
- Returns
- conv2tf.Tensor
Output of this level’s contracting block.