doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
tf.keras.initializers.Zeros Initializer that generates tensors initialized to 0. Inherits From: zeros_initializer, Initializer View aliases Main aliases
tf.initializers.Zeros, tf.initializers.zeros, tf.keras.initializers.zeros Also available via the shortcut function tf.keras.initializers.zeros. Examples:
# Standa... | tensorflow.keras.initializers.zeros |
tf.keras.Input View source on GitHub Input() is used to instantiate a Keras tensor. View aliases Main aliases
tf.keras.layers.Input Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.Input, tf.compat.v1.keras.layers.Input
tf.keras.Input(
shape=None, batch_size=None, na... | tensorflow.keras.input |
Module: tf.keras.layers Keras layers API. Modules experimental module: Public API for tf.keras.layers.experimental namespace. Classes class AbstractRNNCell: Abstract object representing an RNN cell. class Activation: Applies an activation function to an output. class ActivityRegularization: Layer that applies an update... | tensorflow.keras.layers |
tf.keras.layers.AbstractRNNCell View source on GitHub Abstract object representing an RNN cell. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.AbstractRNNCell
tf.keras.layers.AbstractRNNCell(
trainable=True, name=Non... | tensorflow.keras.layers.abstractrnncell |
tf.keras.layers.Activation View source on GitHub Applies an activation function to an output. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Activation
tf.keras.layers.Activation(
activation, **kwargs
)
Argumen... | tensorflow.keras.layers.activation |
tf.keras.layers.ActivityRegularization View source on GitHub Layer that applies an update to the cost function based input activity. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.ActivityRegularization
tf.keras.layers.A... | tensorflow.keras.layers.activityregularization |
tf.keras.layers.Add View source on GitHub Layer that adds a list of inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Add
tf.keras.layers.Add(
**kwargs
)
It takes as input a list of tensors, all of the same sha... | tensorflow.keras.layers.add |
tf.keras.layers.AdditiveAttention View source on GitHub Additive attention layer, a.k.a. Bahdanau-style attention. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.AdditiveAttention
tf.keras.layers.AdditiveAttention(
u... | tensorflow.keras.layers.additiveattention |
tf.keras.layers.AlphaDropout View source on GitHub Applies Alpha Dropout to the input. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.AlphaDropout
tf.keras.layers.AlphaDropout(
rate, noise_shape=None, seed=None, **kw... | tensorflow.keras.layers.alphadropout |
tf.keras.layers.Attention View source on GitHub Dot-product attention layer, a.k.a. Luong-style attention. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Attention
tf.keras.layers.Attention(
use_scale=False, **kwargs... | tensorflow.keras.layers.attention |
tf.keras.layers.Average View source on GitHub Layer that averages a list of inputs element-wise. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Average
tf.keras.layers.Average(
**kwargs
)
It takes as input a list of... | tensorflow.keras.layers.average |
tf.keras.layers.AveragePooling1D View source on GitHub Average pooling for temporal data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.AvgPool1D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.AveragePooling1D, tf.compat.v1.keras.layers.Av... | tensorflow.keras.layers.averagepooling1d |
tf.keras.layers.AveragePooling2D View source on GitHub Average pooling operation for spatial data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.AvgPool2D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.AveragePooling2D, tf.compat.v1.keras.... | tensorflow.keras.layers.averagepooling2d |
tf.keras.layers.AveragePooling3D View source on GitHub Average pooling operation for 3D data (spatial or spatio-temporal). Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.AvgPool3D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.AveragePoolin... | tensorflow.keras.layers.averagepooling3d |
tf.keras.layers.BatchNormalization View source on GitHub Layer that normalizes its inputs. Inherits From: Layer, Module
tf.keras.layers.BatchNormalization(
axis=-1, momentum=0.99, epsilon=0.001, center=True, scale=True,
beta_initializer='zeros', gamma_initializer='ones',
moving_mean_initializer='zer... | tensorflow.keras.layers.batchnormalization |
tf.keras.layers.Bidirectional View source on GitHub Bidirectional wrapper for RNNs. Inherits From: Wrapper, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Bidirectional
tf.keras.layers.Bidirectional(
layer, merge_mode='concat', wei... | tensorflow.keras.layers.bidirectional |
tf.keras.layers.Concatenate View source on GitHub Layer that concatenates a list of inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Concatenate
tf.keras.layers.Concatenate(
axis=-1, **kwargs
)
It takes as inp... | tensorflow.keras.layers.concatenate |
tf.keras.layers.Conv1D View source on GitHub 1D convolution layer (e.g. temporal convolution). Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.Convolution1D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Conv1D, tf.compat.v1.keras.layers.Con... | tensorflow.keras.layers.conv1d |
tf.keras.layers.Conv1DTranspose Transposed convolution layer (sometimes called Deconvolution). Inherits From: Conv1D, Layer, Module View aliases Main aliases
tf.keras.layers.Convolution1DTranspose Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Conv1DTranspose, tf.compat.... | tensorflow.keras.layers.conv1dtranspose |
tf.keras.layers.Conv2D View source on GitHub 2D convolution layer (e.g. spatial convolution over images). Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.Convolution2D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Conv2D, tf.compat.v1.keras... | tensorflow.keras.layers.conv2d |
tf.keras.layers.Conv2DTranspose View source on GitHub Transposed convolution layer (sometimes called Deconvolution). Inherits From: Conv2D, Layer, Module View aliases Main aliases
tf.keras.layers.Convolution2DTranspose Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layer... | tensorflow.keras.layers.conv2dtranspose |
tf.keras.layers.Conv3D View source on GitHub 3D convolution layer (e.g. spatial convolution over volumes). Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.Convolution3D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Conv3D, tf.compat.v1.kera... | tensorflow.keras.layers.conv3d |
tf.keras.layers.Conv3DTranspose View source on GitHub Transposed convolution layer (sometimes called Deconvolution). Inherits From: Conv3D, Layer, Module View aliases Main aliases
tf.keras.layers.Convolution3DTranspose Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layer... | tensorflow.keras.layers.conv3dtranspose |
tf.keras.layers.ConvLSTM2D View source on GitHub Convolutional LSTM. Inherits From: RNN, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.ConvLSTM2D
tf.keras.layers.ConvLSTM2D(
filters, kernel_size, strides=(1, 1), padding='valid',
... | tensorflow.keras.layers.convlstm2d |
tf.keras.layers.Cropping1D View source on GitHub Cropping layer for 1D input (e.g. temporal sequence). Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Cropping1D
tf.keras.layers.Cropping1D(
cropping=(1, 1), **kwargs
)... | tensorflow.keras.layers.cropping1d |
tf.keras.layers.Cropping2D View source on GitHub Cropping layer for 2D input (e.g. picture). Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Cropping2D
tf.keras.layers.Cropping2D(
cropping=((0, 0), (0, 0)), data_forma... | tensorflow.keras.layers.cropping2d |
tf.keras.layers.Cropping3D View source on GitHub Cropping layer for 3D data (e.g. spatial or spatio-temporal). Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Cropping3D
tf.keras.layers.Cropping3D(
cropping=((1, 1), (... | tensorflow.keras.layers.cropping3d |
tf.keras.layers.Dense View source on GitHub Just your regular densely-connected NN layer. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Dense
tf.keras.layers.Dense(
units, activation=None, use_bias=True,
kernel_... | tensorflow.keras.layers.dense |
tf.keras.layers.DenseFeatures View source on GitHub A layer that produces a dense Tensor based on given feature_columns. Inherits From: DenseFeatures, Layer, Module
tf.keras.layers.DenseFeatures(
feature_columns, trainable=True, name=None, **kwargs
)
Generally a single example in training data is described... | tensorflow.keras.layers.densefeatures |
tf.keras.layers.DepthwiseConv2D View source on GitHub Depthwise separable 2D convolution. Inherits From: Conv2D, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.DepthwiseConv2D
tf.keras.layers.DepthwiseConv2D(
kernel_size, strides=(... | tensorflow.keras.layers.depthwiseconv2d |
tf.keras.layers.deserialize View source on GitHub Instantiates a layer from a config dictionary. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.deserialize
tf.keras.layers.deserialize(
config, custom_objects=None
)
Arguments
config dic... | tensorflow.keras.layers.deserialize |
tf.keras.layers.Dot View source on GitHub Layer that computes a dot product between samples in two tensors. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Dot
tf.keras.layers.Dot(
axes, normalize=False, **kwargs
)
E... | tensorflow.keras.layers.dot |
tf.keras.layers.Dropout View source on GitHub Applies Dropout to the input. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Dropout
tf.keras.layers.Dropout(
rate, noise_shape=None, seed=None, **kwargs
)
The Dropout l... | tensorflow.keras.layers.dropout |
tf.keras.layers.ELU View source on GitHub Exponential Linear Unit. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.ELU
tf.keras.layers.ELU(
alpha=1.0, **kwargs
)
It follows: f(x) = alpha * (exp(x) - 1.) for x < 0
f(... | tensorflow.keras.layers.elu |
tf.keras.layers.Embedding View source on GitHub Turns positive integers (indexes) into dense vectors of fixed size. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Embedding
tf.keras.layers.Embedding(
input_dim, outpu... | tensorflow.keras.layers.embedding |
Module: tf.keras.layers.experimental Public API for tf.keras.layers.experimental namespace. Modules preprocessing module: Public API for tf.keras.layers.experimental.preprocessing namespace. Classes class EinsumDense: A layer that uses tf.einsum as the backing computation. class RandomFourierFeatures: Layer that projec... | tensorflow.keras.layers.experimental |
tf.keras.layers.experimental.EinsumDense A layer that uses tf.einsum as the backing computation. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.EinsumDense
tf.keras.layers.experimental.EinsumDense(
equation, ou... | tensorflow.keras.layers.experimental.einsumdense |
Module: tf.keras.layers.experimental.preprocessing Public API for tf.keras.layers.experimental.preprocessing namespace. Classes class CategoryCrossing: Category crossing layer. class CategoryEncoding: Category encoding layer. class CenterCrop: Crop the central portion of the images to target height and width. class Dis... | tensorflow.keras.layers.experimental.preprocessing |
tf.keras.layers.experimental.preprocessing.CategoryCrossing Category crossing layer. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.CategoryCrossing
tf.keras.layers.experimental.pr... | tensorflow.keras.layers.experimental.preprocessing.categorycrossing |
tf.keras.layers.experimental.preprocessing.CategoryEncoding Category encoding layer. Inherits From: PreprocessingLayer, Layer, Module
tf.keras.layers.experimental.preprocessing.CategoryEncoding(
max_tokens=None, output_mode=BINARY, sparse=False, **kwargs
)
This layer provides options for condensing data into a ca... | tensorflow.keras.layers.experimental.preprocessing.categoryencoding |
tf.keras.layers.experimental.preprocessing.CenterCrop Crop the central portion of the images to target height and width. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.CenterCrop
t... | tensorflow.keras.layers.experimental.preprocessing.centercrop |
tf.keras.layers.experimental.preprocessing.Discretization Buckets data into discrete ranges. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.Discretization
tf.keras.layers.experimen... | tensorflow.keras.layers.experimental.preprocessing.discretization |
tf.keras.layers.experimental.preprocessing.Hashing Implements categorical feature hashing, also known as "hashing trick". Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.Hashing
tf.... | tensorflow.keras.layers.experimental.preprocessing.hashing |
tf.keras.layers.experimental.preprocessing.IntegerLookup Maps integers from a vocabulary to integer indices. Inherits From: PreprocessingLayer, Layer, Module
tf.keras.layers.experimental.preprocessing.IntegerLookup(
max_values=None, num_oov_indices=1, mask_value=0, oov_value=-1, vocabulary=None,
invert=False, ... | tensorflow.keras.layers.experimental.preprocessing.integerlookup |
tf.keras.layers.experimental.preprocessing.Normalization Feature-wise normalization of the data. Inherits From: PreprocessingLayer, Layer, Module
tf.keras.layers.experimental.preprocessing.Normalization(
axis=-1, dtype=None, mean=None, variance=None, **kwargs
)
This layer will coerce its inputs into a distributio... | tensorflow.keras.layers.experimental.preprocessing.normalization |
tf.keras.layers.experimental.preprocessing.PreprocessingLayer Base class for PreprocessingLayers. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.PreprocessingLayer
tf.keras.layers.experimental.preproc... | tensorflow.keras.layers.experimental.preprocessing.preprocessinglayer |
tf.keras.layers.experimental.preprocessing.RandomContrast Adjust the contrast of an image or images by a random factor. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomContrast ... | tensorflow.keras.layers.experimental.preprocessing.randomcontrast |
tf.keras.layers.experimental.preprocessing.RandomCrop Randomly crop the images to target height and width. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomCrop
tf.keras.layers... | tensorflow.keras.layers.experimental.preprocessing.randomcrop |
tf.keras.layers.experimental.preprocessing.RandomFlip Randomly flip each image horizontally and vertically. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomFlip
tf.keras.layer... | tensorflow.keras.layers.experimental.preprocessing.randomflip |
tf.keras.layers.experimental.preprocessing.RandomHeight Randomly vary the height of a batch of images during training. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomHeight
t... | tensorflow.keras.layers.experimental.preprocessing.randomheight |
tf.keras.layers.experimental.preprocessing.RandomRotation Randomly rotate each image. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomRotation
tf.keras.layers.experimental.pre... | tensorflow.keras.layers.experimental.preprocessing.randomrotation |
tf.keras.layers.experimental.preprocessing.RandomTranslation Randomly translate each image during training. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomTranslation
tf.kera... | tensorflow.keras.layers.experimental.preprocessing.randomtranslation |
tf.keras.layers.experimental.preprocessing.RandomWidth Randomly vary the width of a batch of images during training. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomWidth
tf.k... | tensorflow.keras.layers.experimental.preprocessing.randomwidth |
tf.keras.layers.experimental.preprocessing.RandomZoom Randomly zoom each image during training. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.RandomZoom
tf.keras.layers.experiment... | tensorflow.keras.layers.experimental.preprocessing.randomzoom |
tf.keras.layers.experimental.preprocessing.Rescaling Multiply inputs by scale and adds offset. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.Rescaling
tf.keras.layers.experimental... | tensorflow.keras.layers.experimental.preprocessing.rescaling |
tf.keras.layers.experimental.preprocessing.Resizing Image resizing layer. Inherits From: PreprocessingLayer, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.Resizing
tf.keras.layers.experimental.preprocessing.Resizin... | tensorflow.keras.layers.experimental.preprocessing.resizing |
tf.keras.layers.experimental.preprocessing.StringLookup Maps strings from a vocabulary to integer indices. Inherits From: PreprocessingLayer, Layer, Module
tf.keras.layers.experimental.preprocessing.StringLookup(
max_tokens=None, num_oov_indices=1, mask_token='',
oov_token='[UNK]', vocabulary=None, encoding=No... | tensorflow.keras.layers.experimental.preprocessing.stringlookup |
tf.keras.layers.experimental.preprocessing.TextVectorization Text vectorization layer. Inherits From: PreprocessingLayer, Layer, Module
tf.keras.layers.experimental.preprocessing.TextVectorization(
max_tokens=None, standardize=LOWER_AND_STRIP_PUNCTUATION,
split=SPLIT_ON_WHITESPACE, ngrams=None, output_mode=INT... | tensorflow.keras.layers.experimental.preprocessing.textvectorization |
tf.keras.layers.experimental.RandomFourierFeatures Layer that projects its inputs into a random feature space. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.experimental.RandomFourierFeatures
tf.keras.layers.experimental.Rando... | tensorflow.keras.layers.experimental.randomfourierfeatures |
tf.keras.layers.experimental.SyncBatchNormalization Normalize and scale inputs or activations synchronously across replicas. Inherits From: Layer, Module
tf.keras.layers.experimental.SyncBatchNormalization(
axis=-1, momentum=0.99, epsilon=0.001, center=True, scale=True,
beta_initializer='zeros', gamma_initiali... | tensorflow.keras.layers.experimental.syncbatchnormalization |
tf.keras.layers.Flatten View source on GitHub Flattens the input. Does not affect the batch size. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Flatten
tf.keras.layers.Flatten(
data_format=None, **kwargs
)
Note: I... | tensorflow.keras.layers.flatten |
tf.keras.layers.GaussianDropout View source on GitHub Apply multiplicative 1-centered Gaussian noise. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.GaussianDropout
tf.keras.layers.GaussianDropout(
rate, **kwargs
)
... | tensorflow.keras.layers.gaussiandropout |
tf.keras.layers.GaussianNoise View source on GitHub Apply additive zero-centered Gaussian noise. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.GaussianNoise
tf.keras.layers.GaussianNoise(
stddev, **kwargs
)
This is... | tensorflow.keras.layers.gaussiannoise |
tf.keras.layers.GlobalAveragePooling1D View source on GitHub Global average pooling operation for temporal data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.GlobalAvgPool1D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.GlobalAveragePool... | tensorflow.keras.layers.globalaveragepooling1d |
tf.keras.layers.GlobalAveragePooling2D View source on GitHub Global average pooling operation for spatial data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.GlobalAvgPool2D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.GlobalAveragePooli... | tensorflow.keras.layers.globalaveragepooling2d |
tf.keras.layers.GlobalAveragePooling3D View source on GitHub Global Average pooling operation for 3D data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.GlobalAvgPool3D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.GlobalAveragePooling3D,... | tensorflow.keras.layers.globalaveragepooling3d |
tf.keras.layers.GlobalMaxPool1D View source on GitHub Global max pooling operation for 1D temporal data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.GlobalMaxPooling1D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.GlobalMaxPool1D, tf.co... | tensorflow.keras.layers.globalmaxpool1d |
tf.keras.layers.GlobalMaxPool2D View source on GitHub Global max pooling operation for spatial data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.GlobalMaxPooling2D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.GlobalMaxPool2D, tf.compat... | tensorflow.keras.layers.globalmaxpool2d |
tf.keras.layers.GlobalMaxPool3D View source on GitHub Global Max pooling operation for 3D data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.GlobalMaxPooling3D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.GlobalMaxPool3D, tf.compat.v1.k... | tensorflow.keras.layers.globalmaxpool3d |
tf.keras.layers.GRU View source on GitHub Gated Recurrent Unit - Cho et al. 2014. Inherits From: GRU, RNN, Layer, Module
tf.keras.layers.GRU(
units, activation='tanh', recurrent_activation='sigmoid',
use_bias=True, kernel_initializer='glorot_uniform',
recurrent_initializer='orthogonal',
bias_ini... | tensorflow.keras.layers.gru |
tf.keras.layers.GRUCell View source on GitHub Cell class for the GRU layer. Inherits From: GRUCell, Layer, Module
tf.keras.layers.GRUCell(
units, activation='tanh', recurrent_activation='sigmoid',
use_bias=True, kernel_initializer='glorot_uniform',
recurrent_initializer='orthogonal',
bias_initia... | tensorflow.keras.layers.grucell |
tf.keras.layers.InputLayer View source on GitHub Layer to be used as an entry point into a Network (a graph of layers). Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.InputLayer
tf.keras.layers.InputLayer(
input_shap... | tensorflow.keras.layers.inputlayer |
tf.keras.layers.InputSpec Specifies the rank, dtype and shape of every input to a layer. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.InputSpec, tf.compat.v1.layers.InputSpec
tf.keras.layers.InputSpec(
dtype=None, shape=None, ndim=None, max_ndim=None... | tensorflow.keras.layers.inputspec |
tf.keras.layers.Lambda View source on GitHub Wraps arbitrary expressions as a Layer object. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Lambda
tf.keras.layers.Lambda(
function, output_shape=None, mask=None, argume... | tensorflow.keras.layers.lambda |
tf.keras.layers.Layer View source on GitHub This is the class from which all layers inherit. Inherits From: Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Layer
tf.keras.layers.Layer(
trainable=True, name=None, dtype=None, dynamic=False, ... | tensorflow.keras.layers.layer |
tf.keras.layers.LayerNormalization View source on GitHub Layer normalization layer (Ba et al., 2016). Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.LayerNormalization
tf.keras.layers.LayerNormalization(
axis=-1, eps... | tensorflow.keras.layers.layernormalization |
tf.keras.layers.LeakyReLU View source on GitHub Leaky version of a Rectified Linear Unit. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.LeakyReLU
tf.keras.layers.LeakyReLU(
alpha=0.3, **kwargs
)
It allows a small g... | tensorflow.keras.layers.leakyrelu |
tf.keras.layers.LocallyConnected1D View source on GitHub Locally-connected layer for 1D inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.LocallyConnected1D
tf.keras.layers.LocallyConnected1D(
filters, kernel_si... | tensorflow.keras.layers.locallyconnected1d |
tf.keras.layers.LocallyConnected2D View source on GitHub Locally-connected layer for 2D inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.LocallyConnected2D
tf.keras.layers.LocallyConnected2D(
filters, kernel_si... | tensorflow.keras.layers.locallyconnected2d |
tf.keras.layers.LSTM View source on GitHub Long Short-Term Memory layer - Hochreiter 1997. Inherits From: LSTM, RNN, Layer, Module
tf.keras.layers.LSTM(
units, activation='tanh', recurrent_activation='sigmoid',
use_bias=True, kernel_initializer='glorot_uniform',
recurrent_initializer='orthogonal',
... | tensorflow.keras.layers.lstm |
tf.keras.layers.LSTMCell View source on GitHub Cell class for the LSTM layer. Inherits From: LSTMCell, Layer, Module
tf.keras.layers.LSTMCell(
units, activation='tanh', recurrent_activation='sigmoid',
use_bias=True, kernel_initializer='glorot_uniform',
recurrent_initializer='orthogonal',
bias_in... | tensorflow.keras.layers.lstmcell |
tf.keras.layers.Masking View source on GitHub Masks a sequence by using a mask value to skip timesteps. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Masking
tf.keras.layers.Masking(
mask_value=0.0, **kwargs
)
For ... | tensorflow.keras.layers.masking |
tf.keras.layers.Maximum View source on GitHub Layer that computes the maximum (element-wise) a list of inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Maximum
tf.keras.layers.Maximum(
**kwargs
)
It takes as i... | tensorflow.keras.layers.maximum |
tf.keras.layers.MaxPool1D View source on GitHub Max pooling operation for 1D temporal data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.MaxPooling1D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.MaxPool1D, tf.compat.v1.keras.layers.MaxP... | tensorflow.keras.layers.maxpool1d |
tf.keras.layers.MaxPool2D View source on GitHub Max pooling operation for 2D spatial data. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.MaxPooling2D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.MaxPool2D, tf.compat.v1.keras.layers.MaxPo... | tensorflow.keras.layers.maxpool2d |
tf.keras.layers.MaxPool3D View source on GitHub Max pooling operation for 3D data (spatial or spatio-temporal). Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.MaxPooling3D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.MaxPool3D, tf.compat.... | tensorflow.keras.layers.maxpool3d |
tf.keras.layers.Minimum View source on GitHub Layer that computes the minimum (element-wise) a list of inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Minimum
tf.keras.layers.Minimum(
**kwargs
)
It takes as i... | tensorflow.keras.layers.minimum |
tf.keras.layers.MultiHeadAttention MultiHeadAttention layer. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.MultiHeadAttention
tf.keras.layers.MultiHeadAttention(
num_heads, key_dim, value_dim=None, dropout=0.0, use_bias=Tr... | tensorflow.keras.layers.multiheadattention |
tf.keras.layers.Multiply View source on GitHub Layer that multiplies (element-wise) a list of inputs. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Multiply
tf.keras.layers.Multiply(
**kwargs
)
It takes as input a ... | tensorflow.keras.layers.multiply |
tf.keras.layers.Permute View source on GitHub Permutes the dimensions of the input according to a given pattern. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Permute
tf.keras.layers.Permute(
dims, **kwargs
)
Usefu... | tensorflow.keras.layers.permute |
tf.keras.layers.PReLU View source on GitHub Parametric Rectified Linear Unit. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.PReLU
tf.keras.layers.PReLU(
alpha_initializer='zeros', alpha_regularizer=None,
alpha_c... | tensorflow.keras.layers.prelu |
tf.keras.layers.ReLU View source on GitHub Rectified Linear Unit activation function. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.ReLU
tf.keras.layers.ReLU(
max_value=None, negative_slope=0, threshold=0, **kwargs
... | tensorflow.keras.layers.relu |
tf.keras.layers.RepeatVector View source on GitHub Repeats the input n times. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.RepeatVector
tf.keras.layers.RepeatVector(
n, **kwargs
)
Example: model = Sequential()
mod... | tensorflow.keras.layers.repeatvector |
tf.keras.layers.Reshape View source on GitHub Layer that reshapes inputs into the given shape. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.Reshape
tf.keras.layers.Reshape(
target_shape, **kwargs
)
Input shape: Ar... | tensorflow.keras.layers.reshape |
tf.keras.layers.RNN View source on GitHub Base class for recurrent layers. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.RNN
tf.keras.layers.RNN(
cell, return_sequences=False, return_state=False, go_backwards=False,... | tensorflow.keras.layers.rnn |
tf.keras.layers.SeparableConv1D View source on GitHub Depthwise separable 1D convolution. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.SeparableConvolution1D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.SeparableConv1D, tf.compat.v1.ker... | tensorflow.keras.layers.separableconv1d |
tf.keras.layers.SeparableConv2D View source on GitHub Depthwise separable 2D convolution. Inherits From: Layer, Module View aliases Main aliases
tf.keras.layers.SeparableConvolution2D Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.SeparableConv2D, tf.compat.v1.ker... | tensorflow.keras.layers.separableconv2d |
tf.keras.layers.serialize View source on GitHub View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.serialize
tf.keras.layers.serialize(
layer
) | tensorflow.keras.layers.serialize |
tf.keras.layers.SimpleRNN View source on GitHub Fully-connected RNN where the output is to be fed back to input. Inherits From: RNN, Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.SimpleRNN
tf.keras.layers.SimpleRNN(
units, activat... | tensorflow.keras.layers.simplernn |
tf.keras.layers.SimpleRNNCell View source on GitHub Cell class for SimpleRNN. Inherits From: Layer, Module View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.layers.SimpleRNNCell
tf.keras.layers.SimpleRNNCell(
units, activation='tanh', use_bias=True,
k... | tensorflow.keras.layers.simplernncell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.