doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
Module: tf.keras.applications.resnet50 Public API for tf.keras.applications.resnet50 namespace. Functions ResNet50(...): Instantiates the ResNet50 architecture. decode_predictions(...): Decodes the prediction of an ImageNet model. preprocess_input(...): Preprocesses a tensor or Numpy array encoding a batch of images.
tensorflow.keras.applications.resnet50
tf.keras.applications.ResNet50V2 View source on GitHub Instantiates the ResNet50V2 architecture. View aliases Main aliases tf.keras.applications.resnet_v2.ResNet50V2 Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.ResNet50V2, tf.compat.v1.keras.applications.r...
tensorflow.keras.applications.resnet50v2
Module: tf.keras.applications.resnet_v2 ResNet v2 models for Keras. Reference: Identity Mappings in Deep Residual Networks (CVPR 2016) Functions ResNet101V2(...): Instantiates the ResNet101V2 architecture. ResNet152V2(...): Instantiates the ResNet152V2 architecture. ResNet50V2(...): Instantiates the ResNet50V2 archi...
tensorflow.keras.applications.resnet_v2
tf.keras.applications.resnet_v2.decode_predictions View source on GitHub Decodes the prediction of an ImageNet model. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.resnet_v2.decode_predictions tf.keras.applications.resnet_v2.decode_prediction...
tensorflow.keras.applications.resnet_v2.decode_predictions
tf.keras.applications.resnet_v2.preprocess_input View source on GitHub Preprocesses a tensor or Numpy array encoding a batch of images. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.resnet_v2.preprocess_input tf.keras.applications.resnet_v2.p...
tensorflow.keras.applications.resnet_v2.preprocess_input
Module: tf.keras.applications.vgg16 VGG16 model for Keras. Reference: Very Deep Convolutional Networks for Large-Scale Image Recognition (ICLR 2015) Functions VGG16(...): Instantiates the VGG16 model. decode_predictions(...): Decodes the prediction of an ImageNet model. preprocess_input(...): Preprocesses a tensor o...
tensorflow.keras.applications.vgg16
tf.keras.applications.vgg16.decode_predictions View source on GitHub Decodes the prediction of an ImageNet model. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.vgg16.decode_predictions tf.keras.applications.vgg16.decode_predictions( preds...
tensorflow.keras.applications.vgg16.decode_predictions
tf.keras.applications.vgg16.preprocess_input View source on GitHub Preprocesses a tensor or Numpy array encoding a batch of images. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.vgg16.preprocess_input tf.keras.applications.vgg16.preprocess_in...
tensorflow.keras.applications.vgg16.preprocess_input
Module: tf.keras.applications.vgg19 VGG19 model for Keras. Reference: Very Deep Convolutional Networks for Large-Scale Image Recognition (ICLR 2015) Functions VGG19(...): Instantiates the VGG19 architecture. decode_predictions(...): Decodes the prediction of an ImageNet model. preprocess_input(...): Preprocesses a t...
tensorflow.keras.applications.vgg19
tf.keras.applications.vgg19.decode_predictions View source on GitHub Decodes the prediction of an ImageNet model. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.vgg19.decode_predictions tf.keras.applications.vgg19.decode_predictions( preds...
tensorflow.keras.applications.vgg19.decode_predictions
tf.keras.applications.vgg19.preprocess_input View source on GitHub Preprocesses a tensor or Numpy array encoding a batch of images. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.vgg19.preprocess_input tf.keras.applications.vgg19.preprocess_in...
tensorflow.keras.applications.vgg19.preprocess_input
Module: tf.keras.applications.xception Xception V1 model for Keras. On ImageNet, this model gets to a top-1 validation accuracy of 0.790 and a top-5 validation accuracy of 0.945. Reference: Xception: Deep Learning with Depthwise Separable Convolutions (CVPR 2017) Functions Xception(...): Instantiates the Xception ar...
tensorflow.keras.applications.xception
tf.keras.applications.xception.decode_predictions View source on GitHub Decodes the prediction of an ImageNet model. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.xception.decode_predictions tf.keras.applications.xception.decode_predictions( ...
tensorflow.keras.applications.xception.decode_predictions
tf.keras.applications.xception.preprocess_input View source on GitHub Preprocesses a tensor or Numpy array encoding a batch of images. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.applications.xception.preprocess_input tf.keras.applications.xception.prep...
tensorflow.keras.applications.xception.preprocess_input
Module: tf.keras.backend Keras backend API. Functions clear_session(...): Resets all state generated by Keras. epsilon(...): Returns the value of the fuzz factor used in numeric expressions. floatx(...): Returns the default float type, as a string. get_uid(...): Associates a string prefix with an integer counter in a T...
tensorflow.keras.backend
tf.keras.backend.clear_session View source on GitHub Resets all state generated by Keras. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.clear_session tf.keras.backend.clear_session() Keras manages a global state, which it uses to implement the Fu...
tensorflow.keras.backend.clear_session
tf.keras.backend.epsilon View source on GitHub Returns the value of the fuzz factor used in numeric expressions. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.epsilon tf.keras.backend.epsilon() Returns A float. Example: tf.keras.backen...
tensorflow.keras.backend.epsilon
tf.keras.backend.floatx View source on GitHub Returns the default float type, as a string. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.floatx tf.keras.backend.floatx() E.g. 'float16', 'float32', 'float64'. Returns String, the current def...
tensorflow.keras.backend.floatx
tf.keras.backend.get_uid View source on GitHub Associates a string prefix with an integer counter in a TensorFlow graph. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.get_uid tf.keras.backend.get_uid( prefix='' ) Arguments prefix Str...
tensorflow.keras.backend.get_uid
tf.keras.backend.image_data_format View source on GitHub Returns the default image data format convention. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.image_data_format tf.keras.backend.image_data_format() Returns A string, either 'chann...
tensorflow.keras.backend.image_data_format
tf.keras.backend.is_keras_tensor Returns whether x is a Keras tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.is_keras_tensor tf.keras.backend.is_keras_tensor( x ) A "Keras tensor" is a tensor that was returned by a Keras layer, (Layer class) ...
tensorflow.keras.backend.is_keras_tensor
tf.keras.backend.reset_uids View source on GitHub Resets graph identifiers. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.reset_uids tf.keras.backend.reset_uids()
tensorflow.keras.backend.reset_uids
tf.keras.backend.rnn View source on GitHub Iterates over the time dimension of a tensor. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.rnn tf.keras.backend.rnn( step_function, inputs, initial_states, go_backwards=False, mask=None, constant...
tensorflow.keras.backend.rnn
tf.keras.backend.set_epsilon View source on GitHub Sets the value of the fuzz factor used in numeric expressions. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.set_epsilon tf.keras.backend.set_epsilon( value ) Arguments value float. ...
tensorflow.keras.backend.set_epsilon
tf.keras.backend.set_floatx View source on GitHub Sets the default float type. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.set_floatx tf.keras.backend.set_floatx( value ) Note: It is not recommended to set this to float16 for training, as ...
tensorflow.keras.backend.set_floatx
tf.keras.backend.set_image_data_format View source on GitHub Sets the value of the image data format convention. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.backend.set_image_data_format tf.keras.backend.set_image_data_format( data_format ) Ar...
tensorflow.keras.backend.set_image_data_format
Module: tf.keras.callbacks Callbacks: utilities called at certain points during model training. Modules experimental module: Public API for tf.keras.callbacks.experimental namespace. Classes class BaseLogger: Callback that accumulates epoch averages of metrics. class CSVLogger: Callback that streams epoch results to a ...
tensorflow.keras.callbacks
tf.keras.callbacks.BaseLogger View source on GitHub Callback that accumulates epoch averages of metrics. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.BaseLogger tf.keras.callbacks.BaseLogger( stateful_metrics=None ) ...
tensorflow.keras.callbacks.baselogger
tf.keras.callbacks.Callback View source on GitHub Abstract base class used to build new callbacks. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.Callback tf.keras.callbacks.Callback() The logs dictionary that callback methods take as argument w...
tensorflow.keras.callbacks.callback
tf.keras.callbacks.CallbackList Container abstracting a list of callbacks. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.CallbackList tf.keras.callbacks.CallbackList( callbacks=None, add_history=False, add_progbar=False, model=None, **params ) ...
tensorflow.keras.callbacks.callbacklist
tf.keras.callbacks.CSVLogger View source on GitHub Callback that streams epoch results to a CSV file. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.CSVLogger tf.keras.callbacks.CSVLogger( filename, separator=',', appe...
tensorflow.keras.callbacks.csvlogger
tf.keras.callbacks.EarlyStopping View source on GitHub Stop training when a monitored metric has stopped improving. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.EarlyStopping tf.keras.callbacks.EarlyStopping( monitor...
tensorflow.keras.callbacks.earlystopping
Module: tf.keras.callbacks.experimental Public API for tf.keras.callbacks.experimental namespace. Classes class BackupAndRestore: Callback to back up and restore the training state.
tensorflow.keras.callbacks.experimental
tf.keras.callbacks.experimental.BackupAndRestore Callback to back up and restore the training state. Inherits From: Callback tf.keras.callbacks.experimental.BackupAndRestore( backup_dir ) BackupAndRestore callback is intended to recover from interruptions that happened in the middle of a model.fit execution by ba...
tensorflow.keras.callbacks.experimental.backupandrestore
tf.keras.callbacks.History View source on GitHub Callback that records events into a History object. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.History tf.keras.callbacks.History() This callback is automatically appli...
tensorflow.keras.callbacks.history
tf.keras.callbacks.LambdaCallback View source on GitHub Callback for creating simple, custom callbacks on-the-fly. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.LambdaCallback tf.keras.callbacks.LambdaCallback( on_epo...
tensorflow.keras.callbacks.lambdacallback
tf.keras.callbacks.LearningRateScheduler View source on GitHub Learning rate scheduler. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.LearningRateScheduler tf.keras.callbacks.LearningRateScheduler( schedule, verbose=0...
tensorflow.keras.callbacks.learningratescheduler
tf.keras.callbacks.ModelCheckpoint View source on GitHub Callback to save the Keras model or model weights at some frequency. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.ModelCheckpoint tf.keras.callbacks.ModelCheckpoin...
tensorflow.keras.callbacks.modelcheckpoint
tf.keras.callbacks.ProgbarLogger View source on GitHub Callback that prints metrics to stdout. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.ProgbarLogger tf.keras.callbacks.ProgbarLogger( count_mode='samples', statef...
tensorflow.keras.callbacks.progbarlogger
tf.keras.callbacks.ReduceLROnPlateau View source on GitHub Reduce learning rate when a metric has stopped improving. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.ReduceLROnPlateau tf.keras.callbacks.ReduceLROnPlateau( ...
tensorflow.keras.callbacks.reducelronplateau
tf.keras.callbacks.RemoteMonitor View source on GitHub Callback used to stream events to a server. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.RemoteMonitor tf.keras.callbacks.RemoteMonitor( root='http://localhost:9...
tensorflow.keras.callbacks.remotemonitor
tf.keras.callbacks.TensorBoard View source on GitHub Enable visualizations for TensorBoard. Inherits From: Callback tf.keras.callbacks.TensorBoard( log_dir='logs', histogram_freq=0, write_graph=True, write_images=False, update_freq='epoch', profile_batch=2, embeddings_freq=0, embeddings_metadata=Non...
tensorflow.keras.callbacks.tensorboard
tf.keras.callbacks.TerminateOnNaN View source on GitHub Callback that terminates training when a NaN loss is encountered. Inherits From: Callback View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.callbacks.TerminateOnNaN tf.keras.callbacks.TerminateOnNaN() M...
tensorflow.keras.callbacks.terminateonnan
Module: tf.keras.constraints Constraints: functions that impose constraints on weight values. Classes class Constraint class MaxNorm: MaxNorm weight constraint. class MinMaxNorm: MinMaxNorm weight constraint. class NonNeg: Constrains the weights to be non-negative. class RadialConstraint: Constrains Conv2D kernel weigh...
tensorflow.keras.constraints
tf.keras.constraints.Constraint View source on GitHub View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.Constraint Methods get_config View source get_config() __call__ View source __call__( w ) Call self as a function.
tensorflow.keras.constraints.constraint
tf.keras.constraints.deserialize View source on GitHub View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.deserialize tf.keras.constraints.deserialize( config, custom_objects=None )
tensorflow.keras.constraints.deserialize
tf.keras.constraints.get View source on GitHub View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.get tf.keras.constraints.get( identifier )
tensorflow.keras.constraints.get
tf.keras.constraints.MaxNorm View source on GitHub MaxNorm weight constraint. Inherits From: Constraint View aliases Main aliases tf.keras.constraints.max_norm Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.MaxNorm, tf.compat.v1.keras.constraints.max_norm t...
tensorflow.keras.constraints.maxnorm
tf.keras.constraints.MinMaxNorm View source on GitHub MinMaxNorm weight constraint. Inherits From: Constraint View aliases Main aliases tf.keras.constraints.min_max_norm Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.MinMaxNorm, tf.compat.v1.keras.constraints...
tensorflow.keras.constraints.minmaxnorm
tf.keras.constraints.NonNeg View source on GitHub Constrains the weights to be non-negative. Inherits From: Constraint View aliases Main aliases tf.keras.constraints.non_neg Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.NonNeg, tf.compat.v1.keras.constraints...
tensorflow.keras.constraints.nonneg
tf.keras.constraints.RadialConstraint View source on GitHub Constrains Conv2D kernel weights to be the same for each radius. Inherits From: Constraint View aliases Main aliases tf.keras.constraints.radial_constraint Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constrai...
tensorflow.keras.constraints.radialconstraint
tf.keras.constraints.serialize View source on GitHub View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.serialize tf.keras.constraints.serialize( constraint )
tensorflow.keras.constraints.serialize
tf.keras.constraints.UnitNorm View source on GitHub Constrains the weights incident to each hidden unit to have unit norm. Inherits From: Constraint View aliases Main aliases tf.keras.constraints.unit_norm Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.UnitNo...
tensorflow.keras.constraints.unitnorm
Module: tf.keras.datasets Public API for tf.keras.datasets namespace. Modules boston_housing module: Boston housing price regression dataset. cifar10 module: CIFAR10 small images classification dataset. cifar100 module: CIFAR100 small images classification dataset. fashion_mnist module: Fashion-MNIST dataset. imdb modu...
tensorflow.keras.datasets
Module: tf.keras.datasets.boston_housing Boston housing price regression dataset. Functions load_data(...): Loads the Boston Housing dataset.
tensorflow.keras.datasets.boston_housing
tf.keras.datasets.boston_housing.load_data View source on GitHub Loads the Boston Housing dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.boston_housing.load_data tf.keras.datasets.boston_housing.load_data( path='boston_housing.npz',...
tensorflow.keras.datasets.boston_housing.load_data
Module: tf.keras.datasets.cifar10 CIFAR10 small images classification dataset. Functions load_data(...): Loads CIFAR10 dataset.
tensorflow.keras.datasets.cifar10
tf.keras.datasets.cifar10.load_data View source on GitHub Loads CIFAR10 dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.cifar10.load_data tf.keras.datasets.cifar10.load_data() This is a dataset of 50,000 32x32 color training images and 10...
tensorflow.keras.datasets.cifar10.load_data
Module: tf.keras.datasets.cifar100 CIFAR100 small images classification dataset. Functions load_data(...): Loads CIFAR100 dataset.
tensorflow.keras.datasets.cifar100
tf.keras.datasets.cifar100.load_data View source on GitHub Loads CIFAR100 dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.cifar100.load_data tf.keras.datasets.cifar100.load_data( label_mode='fine' ) This is a dataset of 50,000 32x32 c...
tensorflow.keras.datasets.cifar100.load_data
Module: tf.keras.datasets.fashion_mnist Fashion-MNIST dataset. Functions load_data(...): Loads the Fashion-MNIST dataset.
tensorflow.keras.datasets.fashion_mnist
tf.keras.datasets.fashion_mnist.load_data View source on GitHub Loads the Fashion-MNIST dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.fashion_mnist.load_data tf.keras.datasets.fashion_mnist.load_data() This is a dataset of 60,000 28x28 ...
tensorflow.keras.datasets.fashion_mnist.load_data
Module: tf.keras.datasets.imdb IMDB sentiment classification dataset. Functions get_word_index(...): Retrieves a dict mapping words to their index in the IMDB dataset. load_data(...): Loads the IMDB dataset.
tensorflow.keras.datasets.imdb
tf.keras.datasets.imdb.get_word_index View source on GitHub Retrieves a dict mapping words to their index in the IMDB dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.imdb.get_word_index tf.keras.datasets.imdb.get_word_index( path='imdb...
tensorflow.keras.datasets.imdb.get_word_index
tf.keras.datasets.imdb.load_data View source on GitHub Loads the IMDB dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.imdb.load_data tf.keras.datasets.imdb.load_data( path='imdb.npz', num_words=None, skip_top=0, maxlen=None, seed=113, ...
tensorflow.keras.datasets.imdb.load_data
Module: tf.keras.datasets.mnist MNIST handwritten digits dataset. Functions load_data(...): Loads the MNIST dataset.
tensorflow.keras.datasets.mnist
tf.keras.datasets.mnist.load_data View source on GitHub Loads the MNIST dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.mnist.load_data tf.keras.datasets.mnist.load_data( path='mnist.npz' ) This is a dataset of 60,000 28x28 grayscale ...
tensorflow.keras.datasets.mnist.load_data
Module: tf.keras.datasets.reuters Reuters topic classification dataset. Functions get_word_index(...): Retrieves a dict mapping words to their index in the Reuters dataset. load_data(...): Loads the Reuters newswire classification dataset.
tensorflow.keras.datasets.reuters
tf.keras.datasets.reuters.get_word_index View source on GitHub Retrieves a dict mapping words to their index in the Reuters dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.reuters.get_word_index tf.keras.datasets.reuters.get_word_index( ...
tensorflow.keras.datasets.reuters.get_word_index
tf.keras.datasets.reuters.load_data View source on GitHub Loads the Reuters newswire classification dataset. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.datasets.reuters.load_data tf.keras.datasets.reuters.load_data( path='reuters.npz', num_words=No...
tensorflow.keras.datasets.reuters.load_data
Module: tf.keras.estimator Keras estimator API. Functions model_to_estimator(...): Constructs an Estimator instance from given keras model.
tensorflow.keras.estimator
tf.keras.estimator.model_to_estimator View source on GitHub Constructs an Estimator instance from given keras model. tf.keras.estimator.model_to_estimator( keras_model=None, keras_model_path=None, custom_objects=None, model_dir=None, config=None, checkpoint_format='checkpoint', metric_names_map=None, ...
tensorflow.keras.estimator.model_to_estimator
Module: tf.keras.experimental Public API for tf.keras.experimental namespace. Classes class CosineDecay: A LearningRateSchedule that uses a cosine decay schedule. class CosineDecayRestarts: A LearningRateSchedule that uses a cosine decay schedule with restarts. class LinearCosineDecay: A LearningRateSchedule that uses ...
tensorflow.keras.experimental
tf.keras.experimental.CosineDecay View source on GitHub A LearningRateSchedule that uses a cosine decay schedule. Inherits From: LearningRateSchedule View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.CosineDecay tf.keras.experimental.CosineDecay(...
tensorflow.keras.experimental.cosinedecay
tf.keras.experimental.CosineDecayRestarts View source on GitHub A LearningRateSchedule that uses a cosine decay schedule with restarts. Inherits From: LearningRateSchedule View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.CosineDecayRestarts tf.k...
tensorflow.keras.experimental.cosinedecayrestarts
tf.keras.experimental.LinearCosineDecay View source on GitHub A LearningRateSchedule that uses a linear cosine decay schedule. Inherits From: LearningRateSchedule View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.LinearCosineDecay tf.keras.experi...
tensorflow.keras.experimental.linearcosinedecay
tf.keras.experimental.LinearModel View source on GitHub Linear Model for regression and classification problems. Inherits From: Model, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.LinearModel tf.keras.experimental.LinearModel...
tensorflow.keras.experimental.linearmodel
tf.keras.experimental.NoisyLinearCosineDecay View source on GitHub A LearningRateSchedule that uses a noisy linear cosine decay schedule. Inherits From: LearningRateSchedule View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.NoisyLinearCosineDecay ...
tensorflow.keras.experimental.noisylinearcosinedecay
tf.keras.experimental.PeepholeLSTMCell View source on GitHub Equivalent to LSTMCell class but adds peephole connections. Inherits From: LSTMCell, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.PeepholeLSTMCell tf.keras.experiment...
tensorflow.keras.experimental.peepholelstmcell
tf.keras.experimental.SequenceFeatures View source on GitHub A layer for sequence input. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.SequenceFeatures tf.keras.experimental.SequenceFeatures( feature_columns, ...
tensorflow.keras.experimental.sequencefeatures
tf.keras.experimental.WideDeepModel View source on GitHub Wide & Deep Model for regression and classification problems. Inherits From: Model, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.experimental.WideDeepModel tf.keras.experimental.Wide...
tensorflow.keras.experimental.widedeepmodel
Module: tf.keras.initializers Keras initializer serialization / deserialization. View aliases Main aliases tf.initializers Classes class Constant: Initializer that generates tensors with constant values. class GlorotNormal: The Glorot normal initializer, also called Xavier normal initializer. class GlorotUniform: T...
tensorflow.keras.initializers
tf.keras.initializers.Constant Initializer that generates tensors with constant values. Inherits From: Initializer View aliases Main aliases tf.initializers.Constant, tf.initializers.constant, tf.keras.initializers.constant tf.keras.initializers.Constant( value=0 ) Also available via the shortcut function tf....
tensorflow.keras.initializers.constant
tf.keras.initializers.deserialize View source on GitHub Return an Initializer object from its config. View aliases Main aliases tf.initializers.deserialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.initializers.deserialize tf.keras.initializers.deserialize( co...
tensorflow.keras.initializers.deserialize
tf.keras.initializers.get View source on GitHub View aliases Main aliases tf.initializers.get Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.initializers.get tf.keras.initializers.get( identifier )
tensorflow.keras.initializers.get
tf.keras.initializers.GlorotNormal The Glorot normal initializer, also called Xavier normal initializer. Inherits From: VarianceScaling, Initializer View aliases Main aliases tf.initializers.GlorotNormal, tf.initializers.glorot_normal, tf.keras.initializers.glorot_normal tf.keras.initializers.GlorotNormal( see...
tensorflow.keras.initializers.glorotnormal
tf.keras.initializers.GlorotUniform The Glorot uniform initializer, also called Xavier uniform initializer. Inherits From: VarianceScaling, Initializer View aliases Main aliases tf.initializers.GlorotUniform, tf.initializers.glorot_uniform, tf.keras.initializers.glorot_uniform tf.keras.initializers.GlorotUniform( ...
tensorflow.keras.initializers.glorotuniform
tf.keras.initializers.HeNormal He normal initializer. Inherits From: VarianceScaling, Initializer View aliases Main aliases tf.initializers.HeNormal, tf.initializers.he_normal, tf.keras.initializers.he_normal tf.keras.initializers.HeNormal( seed=None ) Also available via the shortcut function tf.keras.initial...
tensorflow.keras.initializers.henormal
tf.keras.initializers.HeUniform He uniform variance scaling initializer. Inherits From: VarianceScaling, Initializer View aliases Main aliases tf.initializers.HeUniform, tf.initializers.he_uniform, tf.keras.initializers.he_uniform tf.keras.initializers.HeUniform( seed=None ) Also available via the shortcut fu...
tensorflow.keras.initializers.heuniform
tf.keras.initializers.Identity Initializer that generates the identity matrix. Inherits From: Initializer View aliases Main aliases tf.initializers.Identity, tf.initializers.identity, tf.keras.initializers.identity tf.keras.initializers.Identity( gain=1.0 ) Also available via the shortcut function tf.keras.in...
tensorflow.keras.initializers.identity
tf.keras.initializers.Initializer View source on GitHub Initializer base class: all Keras initializers inherit from this class. View aliases Main aliases tf.initializers.Initializer Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.initializers.Initializer Initializers sho...
tensorflow.keras.initializers.initializer
tf.keras.initializers.LecunNormal Lecun normal initializer. Inherits From: VarianceScaling, Initializer View aliases Main aliases tf.initializers.LecunNormal, tf.initializers.lecun_normal, tf.keras.initializers.lecun_normal tf.keras.initializers.LecunNormal( seed=None ) Also available via the shortcut functio...
tensorflow.keras.initializers.lecunnormal
tf.keras.initializers.LecunUniform Lecun uniform initializer. Inherits From: VarianceScaling, Initializer View aliases Main aliases tf.initializers.LecunUniform, tf.initializers.lecun_uniform, tf.keras.initializers.lecun_uniform tf.keras.initializers.LecunUniform( seed=None ) Also available via the shortcut f...
tensorflow.keras.initializers.lecununiform
tf.keras.initializers.Ones Initializer that generates tensors initialized to 1. Inherits From: ones_initializer, Initializer View aliases Main aliases tf.initializers.Ones, tf.initializers.ones, tf.keras.initializers.ones Also available via the shortcut function tf.keras.initializers.ones. Examples: # Standalone u...
tensorflow.keras.initializers.ones
tf.keras.initializers.Orthogonal Initializer that generates an orthogonal matrix. Inherits From: Initializer View aliases Main aliases tf.initializers.Orthogonal, tf.initializers.orthogonal, tf.keras.initializers.orthogonal tf.keras.initializers.Orthogonal( gain=1.0, seed=None ) Also available via the shortcu...
tensorflow.keras.initializers.orthogonal
tf.keras.initializers.RandomNormal View source on GitHub Initializer that generates tensors with a normal distribution. Inherits From: random_normal_initializer, Initializer View aliases Main aliases tf.initializers.RandomNormal, tf.initializers.random_normal, tf.keras.initializers.random_normal tf.keras.in...
tensorflow.keras.initializers.randomnormal
tf.keras.initializers.RandomUniform View source on GitHub Initializer that generates tensors with a uniform distribution. Inherits From: random_uniform_initializer, Initializer View aliases Main aliases tf.initializers.RandomUniform, tf.initializers.random_uniform, tf.keras.initializers.random_uniform tf.ke...
tensorflow.keras.initializers.randomuniform
tf.keras.initializers.serialize View source on GitHub View aliases Main aliases tf.initializers.serialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.initializers.serialize tf.keras.initializers.serialize( initializer )
tensorflow.keras.initializers.serialize
tf.keras.initializers.TruncatedNormal View source on GitHub Initializer that generates a truncated normal distribution. Inherits From: Initializer View aliases Main aliases tf.initializers.TruncatedNormal, tf.initializers.truncated_normal, tf.keras.initializers.truncated_normal tf.keras.initializers.Truncat...
tensorflow.keras.initializers.truncatednormal
tf.keras.initializers.VarianceScaling Initializer capable of adapting its scale to the shape of weights tensors. Inherits From: Initializer View aliases Main aliases tf.initializers.VarianceScaling, tf.initializers.variance_scaling, tf.keras.initializers.variance_scaling tf.keras.initializers.VarianceScaling( ...
tensorflow.keras.initializers.variancescaling