Module: tf.compat.v1.layers

Public API for tf.layers namespace.

Modules

experimental module: Public API for tf.layers.experimental namespace.

Classes

class AveragePooling1D: Average Pooling layer for 1D inputs.

class AveragePooling2D: Average pooling layer for 2D inputs (e.g. images).

class AveragePooling3D: Average pooling layer for 3D inputs (e.g. volumes).

class BatchNormalization: Batch Normalization layer from (Ioffe et al., 2015).

class Conv1D: 1D convolution layer (e.g. temporal convolution).

class Conv2D: 2D convolution layer (e.g. spatial convolution over images).

class Conv2DTranspose: Transposed 2D convolution layer (sometimes called 2D Deconvolution).

class Conv3D: 3D convolution layer (e.g. spatial convolution over volumes).

class Conv3DTranspose: Transposed 3D convolution layer (sometimes called 3D Deconvolution).

class Dense: Densely-connected layer class.

class Dropout: Applies Dropout to the input.

class Flatten: Flattens an input tensor while preserving the batch axis (axis 0).

class InputSpec: