doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
tf.keras.layers.Softmax View source on GitHub Softmax activation function. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Softmax tf.keras.layers.Softmax( axis=-1, **kwargs ) Example without mask: inp = np.asarray(...
tensorflow.keras.layers.softmax
tf.keras.layers.SpatialDropout1D View source on GitHub Spatial 1D version of Dropout. Inherits From: Dropout, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.SpatialDropout1D tf.keras.layers.SpatialDropout1D( rate, **kwargs ) This ...
tensorflow.keras.layers.spatialdropout1d
tf.keras.layers.SpatialDropout2D View source on GitHub Spatial 2D version of Dropout. Inherits From: Dropout, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.SpatialDropout2D tf.keras.layers.SpatialDropout2D( rate, data_format=None,...
tensorflow.keras.layers.spatialdropout2d
tf.keras.layers.SpatialDropout3D View source on GitHub Spatial 3D version of Dropout. Inherits From: Dropout, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.SpatialDropout3D tf.keras.layers.SpatialDropout3D( rate, data_format=None,...
tensorflow.keras.layers.spatialdropout3d
tf.keras.layers.StackedRNNCells View source on GitHub Wrapper allowing a stack of RNN cells to behave as a single cell. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.StackedRNNCells tf.keras.layers.StackedRNNCells( ...
tensorflow.keras.layers.stackedrnncells
tf.keras.layers.Subtract View source on GitHub Layer that subtracts two inputs. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Subtract tf.keras.layers.Subtract( **kwargs ) It takes as input a list of tensors of siz...
tensorflow.keras.layers.subtract
tf.keras.layers.ThresholdedReLU View source on GitHub Thresholded Rectified Linear Unit. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.ThresholdedReLU tf.keras.layers.ThresholdedReLU( theta=1.0, **kwargs ) It follo...
tensorflow.keras.layers.thresholdedrelu
tf.keras.layers.TimeDistributed View source on GitHub This wrapper allows to apply a layer to every temporal slice of an input. Inherits From: Wrapper, Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.TimeDistributed tf.keras.layers.Time...
tensorflow.keras.layers.timedistributed
tf.keras.layers.UpSampling1D View source on GitHub Upsampling 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.UpSampling1D tf.keras.layers.UpSampling1D( size=2, **kwargs ) Repeats each temporal s...
tensorflow.keras.layers.upsampling1d
tf.keras.layers.UpSampling2D View source on GitHub Upsampling 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.UpSampling2D tf.keras.layers.UpSampling2D( size=(2, 2), data_format=None, interpolatio...
tensorflow.keras.layers.upsampling2d
tf.keras.layers.UpSampling3D View source on GitHub Upsampling layer for 3D inputs. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.UpSampling3D tf.keras.layers.UpSampling3D( size=(2, 2, 2), data_format=None, **kwargs ...
tensorflow.keras.layers.upsampling3d
tf.keras.layers.Wrapper View source on GitHub Abstract wrapper base class. Inherits From: Layer, Module View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.layers.Wrapper tf.keras.layers.Wrapper( layer, **kwargs ) Wrappers take another layer and augment it...
tensorflow.keras.layers.wrapper
tf.keras.layers.ZeroPadding1D View source on GitHub Zero-padding 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.ZeroPadding1D tf.keras.layers.ZeroPadding1D( padding=1, **k...
tensorflow.keras.layers.zeropadding1d
tf.keras.layers.ZeroPadding2D View source on GitHub Zero-padding 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.ZeroPadding2D tf.keras.layers.ZeroPadding2D( padding=(1, 1), data_for...
tensorflow.keras.layers.zeropadding2d
tf.keras.layers.ZeroPadding3D View source on GitHub Zero-padding layer for 3D data (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.ZeroPadding3D tf.keras.layers.ZeroPadding3D( padding=(1,...
tensorflow.keras.layers.zeropadding3d
Module: tf.keras.losses Built-in loss functions. View aliases Main aliases tf.losses Classes class BinaryCrossentropy: Computes the cross-entropy loss between true labels and predicted labels. class CategoricalCrossentropy: Computes the crossentropy loss between the labels and predictions. class CategoricalHinge: C...
tensorflow.keras.losses
tf.keras.losses.BinaryCrossentropy View source on GitHub Computes the cross-entropy loss between true labels and predicted labels. Inherits From: Loss View aliases Main aliases tf.losses.BinaryCrossentropy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.BinaryCross...
tensorflow.keras.losses.binarycrossentropy
tf.keras.losses.binary_crossentropy View source on GitHub Computes the binary crossentropy loss. View aliases Main aliases tf.keras.metrics.binary_crossentropy, tf.losses.binary_crossentropy, tf.metrics.binary_crossentropy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.l...
tensorflow.keras.losses.binary_crossentropy
tf.keras.losses.CategoricalCrossentropy View source on GitHub Computes the crossentropy loss between the labels and predictions. Inherits From: Loss View aliases Main aliases tf.losses.CategoricalCrossentropy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.Categori...
tensorflow.keras.losses.categoricalcrossentropy
tf.keras.losses.CategoricalHinge View source on GitHub Computes the categorical hinge loss between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.CategoricalHinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.CategoricalHinge tf.kera...
tensorflow.keras.losses.categoricalhinge
tf.keras.losses.categorical_crossentropy View source on GitHub Computes the categorical crossentropy loss. View aliases Main aliases tf.keras.metrics.categorical_crossentropy, tf.losses.categorical_crossentropy, tf.metrics.categorical_crossentropy Compat aliases for migration See Migration guide for more deta...
tensorflow.keras.losses.categorical_crossentropy
tf.keras.losses.categorical_hinge View source on GitHub Computes the categorical hinge loss between y_true and y_pred. View aliases Main aliases tf.losses.categorical_hinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.categorical_hinge tf.keras.losses.categori...
tensorflow.keras.losses.categorical_hinge
tf.keras.losses.CosineSimilarity View source on GitHub Computes the cosine similarity between labels and predictions. Inherits From: Loss View aliases Main aliases tf.losses.CosineSimilarity Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.CosineSimilarity tf.kera...
tensorflow.keras.losses.cosinesimilarity
tf.keras.losses.cosine_similarity Computes the cosine similarity between labels and predictions. View aliases Main aliases tf.losses.cosine_similarity Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.cosine, tf.compat.v1.keras.losses.cosine_proximity, tf.compat.v1.keras.lo...
tensorflow.keras.losses.cosine_similarity
tf.keras.losses.deserialize View source on GitHub Deserializes a serialized loss class/function instance. View aliases Main aliases tf.losses.deserialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.deserialize tf.keras.losses.deserialize( name, custom_obj...
tensorflow.keras.losses.deserialize
tf.keras.losses.get View source on GitHub Retrieves a Keras loss as a function/Loss class instance. View aliases Main aliases tf.losses.get Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.get tf.keras.losses.get( identifier ) The identifier may be the string...
tensorflow.keras.losses.get
tf.keras.losses.Hinge View source on GitHub Computes the hinge loss between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.Hinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.Hinge tf.keras.losses.Hinge( reduction=losses_utils.Re...
tensorflow.keras.losses.hinge
tf.keras.losses.Huber View source on GitHub Computes the Huber loss between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.Huber Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.Huber tf.keras.losses.Huber( delta=1.0, reduction=loss...
tensorflow.keras.losses.huber
tf.keras.losses.KLD View source on GitHub Computes Kullback-Leibler divergence loss between y_true and y_pred. View aliases Main aliases tf.keras.losses.kl_divergence, tf.keras.losses.kld, tf.keras.losses.kullback_leibler_divergence, tf.keras.metrics.KLD, tf.keras.metrics.kl_divergence, tf.keras.metrics.kld, ...
tensorflow.keras.losses.kld
tf.keras.losses.KLDivergence View source on GitHub Computes Kullback-Leibler divergence loss between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.KLDivergence Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.KLDivergence tf.keras.loss...
tensorflow.keras.losses.kldivergence
tf.keras.losses.LogCosh View source on GitHub Computes the logarithm of the hyperbolic cosine of the prediction error. Inherits From: Loss View aliases Main aliases tf.losses.LogCosh Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.LogCosh tf.keras.losses.LogCosh(...
tensorflow.keras.losses.logcosh
tf.keras.losses.log_cosh Logarithm of the hyperbolic cosine of the prediction error. View aliases Main aliases tf.keras.losses.logcosh, tf.keras.metrics.log_cosh, tf.keras.metrics.logcosh, tf.losses.log_cosh, tf.losses.logcosh, tf.metrics.log_cosh, tf.metrics.logcosh Compat aliases for migration See Migration guide ...
tensorflow.keras.losses.log_cosh
tf.keras.losses.Loss View source on GitHub Loss base class. View aliases Main aliases tf.losses.Loss Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.Loss tf.keras.losses.Loss( reduction=losses_utils.ReductionV2.AUTO, name=None ) To be implemented by subclass...
tensorflow.keras.losses.loss
tf.keras.losses.MAE View source on GitHub Computes the mean absolute error between labels and predictions. View aliases Main aliases tf.keras.losses.mae, tf.keras.losses.mean_absolute_error, tf.keras.metrics.MAE, tf.keras.metrics.mae, tf.keras.metrics.mean_absolute_error, tf.losses.MAE, tf.losses.mae, tf.loss...
tensorflow.keras.losses.mae
tf.keras.losses.MAPE View source on GitHub Computes the mean absolute percentage error between y_true and y_pred. View aliases Main aliases tf.keras.losses.mape, tf.keras.losses.mean_absolute_percentage_error, tf.keras.metrics.MAPE, tf.keras.metrics.mape, tf.keras.metrics.mean_absolute_percentage_error, tf.lo...
tensorflow.keras.losses.mape
tf.keras.losses.MeanAbsoluteError View source on GitHub Computes the mean of absolute difference between labels and predictions. Inherits From: Loss View aliases Main aliases tf.losses.MeanAbsoluteError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.MeanAbsoluteEr...
tensorflow.keras.losses.meanabsoluteerror
tf.keras.losses.MeanAbsolutePercentageError View source on GitHub Computes the mean absolute percentage error between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.MeanAbsolutePercentageError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.los...
tensorflow.keras.losses.meanabsolutepercentageerror
tf.keras.losses.MeanSquaredError View source on GitHub Computes the mean of squares of errors between labels and predictions. Inherits From: Loss View aliases Main aliases tf.losses.MeanSquaredError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.MeanSquaredError ...
tensorflow.keras.losses.meansquarederror
tf.keras.losses.MeanSquaredLogarithmicError View source on GitHub Computes the mean squared logarithmic error between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.MeanSquaredLogarithmicError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.los...
tensorflow.keras.losses.meansquaredlogarithmicerror
tf.keras.losses.MSE View source on GitHub Computes the mean squared error between labels and predictions. View aliases Main aliases tf.keras.losses.mean_squared_error, tf.keras.losses.mse, tf.keras.metrics.MSE, tf.keras.metrics.mean_squared_error, tf.keras.metrics.mse, tf.losses.MSE, tf.losses.mean_squared_er...
tensorflow.keras.losses.mse
tf.keras.losses.MSLE View source on GitHub Computes the mean squared logarithmic error between y_true and y_pred. View aliases Main aliases tf.keras.losses.mean_squared_logarithmic_error, tf.keras.losses.msle, tf.keras.metrics.MSLE, tf.keras.metrics.mean_squared_logarithmic_error, tf.keras.metrics.msle, tf.lo...
tensorflow.keras.losses.msle
tf.keras.losses.Poisson View source on GitHub Computes the Poisson loss between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.Poisson Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.Poisson tf.keras.losses.Poisson( reduction=losse...
tensorflow.keras.losses.poisson
tf.keras.losses.Reduction Types of loss reduction. View aliases Main aliases tf.losses.Reduction Contains the following values: AUTO: Indicates that the reduction option will be determined by the usage context. For almost all cases this defaults to SUM_OVER_BATCH_SIZE. When used with tf.distribute.Strategy, outsi...
tensorflow.keras.losses.reduction
tf.keras.losses.serialize View source on GitHub Serializes loss function or Loss instance. View aliases Main aliases tf.losses.serialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.serialize tf.keras.losses.serialize( loss ) Arguments loss A Ker...
tensorflow.keras.losses.serialize
tf.keras.losses.SparseCategoricalCrossentropy View source on GitHub Computes the crossentropy loss between the labels and predictions. Inherits From: Loss View aliases Main aliases tf.losses.SparseCategoricalCrossentropy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.los...
tensorflow.keras.losses.sparsecategoricalcrossentropy
tf.keras.losses.sparse_categorical_crossentropy View source on GitHub Computes the sparse categorical crossentropy loss. View aliases Main aliases tf.keras.metrics.sparse_categorical_crossentropy, tf.losses.sparse_categorical_crossentropy, tf.metrics.sparse_categorical_crossentropy Compat aliases for migratio...
tensorflow.keras.losses.sparse_categorical_crossentropy
tf.keras.losses.SquaredHinge View source on GitHub Computes the squared hinge loss between y_true and y_pred. Inherits From: Loss View aliases Main aliases tf.losses.SquaredHinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.SquaredHinge tf.keras.losses.Squared...
tensorflow.keras.losses.squaredhinge
tf.keras.losses.squared_hinge View source on GitHub Computes the squared hinge loss between y_true and y_pred. View aliases Main aliases tf.keras.metrics.squared_hinge, tf.losses.squared_hinge, tf.metrics.squared_hinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losse...
tensorflow.keras.losses.squared_hinge
Module: tf.keras.metrics Built-in metrics. View aliases Main aliases tf.metrics Classes class AUC: Computes the approximate AUC (Area under the curve) via a Riemann sum. class Accuracy: Calculates how often predictions equal labels. class BinaryAccuracy: Calculates how often predictions match binary labels. class B...
tensorflow.keras.metrics
tf.keras.metrics.Accuracy View source on GitHub Calculates how often predictions equal labels. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.Accuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Accuracy tf.keras.metrics.Accu...
tensorflow.keras.metrics.accuracy
tf.keras.metrics.AUC View source on GitHub Computes the approximate AUC (Area under the curve) via a Riemann sum. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.AUC Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.AUC tf.keras.metrics.A...
tensorflow.keras.metrics.auc
tf.keras.metrics.BinaryAccuracy View source on GitHub Calculates how often predictions match binary labels. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.BinaryAccuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.BinaryAccurac...
tensorflow.keras.metrics.binaryaccuracy
tf.keras.metrics.BinaryCrossentropy View source on GitHub Computes the crossentropy metric between the labels and predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.BinaryCrossentropy Compat aliases for migration See Migration guide for more details. tf.compat.v1.kera...
tensorflow.keras.metrics.binarycrossentropy
tf.keras.metrics.binary_accuracy View source on GitHub Calculates how often predictions matches binary labels. View aliases Main aliases tf.metrics.binary_accuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.binary_accuracy tf.keras.metrics.binary_accuracy( ...
tensorflow.keras.metrics.binary_accuracy
tf.keras.metrics.CategoricalAccuracy View source on GitHub Calculates how often predictions matches one-hot labels. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.CategoricalAccuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics....
tensorflow.keras.metrics.categoricalaccuracy
tf.keras.metrics.CategoricalCrossentropy View source on GitHub Computes the crossentropy metric between the labels and predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.CategoricalCrossentropy Compat aliases for migration See Migration guide for more details. tf.comp...
tensorflow.keras.metrics.categoricalcrossentropy
tf.keras.metrics.CategoricalHinge View source on GitHub Computes the categorical hinge metric between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.CategoricalHinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metric...
tensorflow.keras.metrics.categoricalhinge
tf.keras.metrics.categorical_accuracy View source on GitHub Calculates how often predictions matches one-hot labels. View aliases Main aliases tf.metrics.categorical_accuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.categorical_accuracy tf.keras.metrics.c...
tensorflow.keras.metrics.categorical_accuracy
tf.keras.metrics.CosineSimilarity View source on GitHub Computes the cosine similarity between the labels and predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.CosineSimilarity Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metr...
tensorflow.keras.metrics.cosinesimilarity
tf.keras.metrics.deserialize View source on GitHub Deserializes a serialized metric class/function instance. View aliases Main aliases tf.metrics.deserialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.deserialize tf.keras.metrics.deserialize( config, cu...
tensorflow.keras.metrics.deserialize
tf.keras.metrics.FalseNegatives View source on GitHub Calculates the number of false negatives. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.FalseNegatives Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.FalseNegatives tf.keras.metri...
tensorflow.keras.metrics.falsenegatives
tf.keras.metrics.FalsePositives View source on GitHub Calculates the number of false positives. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.FalsePositives Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.FalsePositives tf.keras.metri...
tensorflow.keras.metrics.falsepositives
tf.keras.metrics.get View source on GitHub Retrieves a Keras metric as a function/Metric class instance. View aliases Main aliases tf.metrics.get Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.get tf.keras.metrics.get( identifier ) The identifier may be th...
tensorflow.keras.metrics.get
tf.keras.metrics.Hinge View source on GitHub Computes the hinge metric between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.Hinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Hinge tf.keras.metrics.Hinge( ...
tensorflow.keras.metrics.hinge
tf.keras.metrics.KLDivergence View source on GitHub Computes Kullback-Leibler divergence metric between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.KLDivergence Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics....
tensorflow.keras.metrics.kldivergence
tf.keras.metrics.LogCoshError View source on GitHub Computes the logarithm of the hyperbolic cosine of the prediction error. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.LogCoshError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metric...
tensorflow.keras.metrics.logcosherror
tf.keras.metrics.Mean View source on GitHub Computes the (weighted) mean of the given values. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.Mean Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Mean tf.keras.metrics.Mean( name='mea...
tensorflow.keras.metrics.mean
tf.keras.metrics.MeanAbsoluteError View source on GitHub Computes the mean absolute error between the labels and predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.MeanAbsoluteError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras....
tensorflow.keras.metrics.meanabsoluteerror
tf.keras.metrics.MeanAbsolutePercentageError View source on GitHub Computes the mean absolute percentage error between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.MeanAbsolutePercentageError Compat aliases for migration See Migration guide for more detail...
tensorflow.keras.metrics.meanabsolutepercentageerror
tf.keras.metrics.MeanIoU View source on GitHub Computes the mean Intersection-Over-Union metric. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.MeanIoU Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.MeanIoU tf.keras.metrics.MeanIoU( ...
tensorflow.keras.metrics.meaniou
tf.keras.metrics.MeanRelativeError View source on GitHub Computes the mean relative error by normalizing with the given values. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.MeanRelativeError Compat aliases for migration See Migration guide for more details. tf.compat.v1.kera...
tensorflow.keras.metrics.meanrelativeerror
tf.keras.metrics.MeanSquaredError View source on GitHub Computes the mean squared error between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.MeanSquaredError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Mean...
tensorflow.keras.metrics.meansquarederror
tf.keras.metrics.MeanSquaredLogarithmicError View source on GitHub Computes the mean squared logarithmic error between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.MeanSquaredLogarithmicError Compat aliases for migration See Migration guide for more detail...
tensorflow.keras.metrics.meansquaredlogarithmicerror
tf.keras.metrics.MeanTensor View source on GitHub Computes the element-wise (weighted) mean of the given tensors. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.MeanTensor Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.MeanTensor tf.k...
tensorflow.keras.metrics.meantensor
tf.keras.metrics.Metric View source on GitHub Encapsulates metric logic and state. Inherits From: Layer, Module View aliases Main aliases tf.metrics.Metric Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Metric tf.keras.metrics.Metric( name=None, dtype=None,...
tensorflow.keras.metrics.metric
tf.keras.metrics.Poisson View source on GitHub Computes the Poisson metric between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.Poisson Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Poisson tf.keras.metrics...
tensorflow.keras.metrics.poisson
tf.keras.metrics.Precision View source on GitHub Computes the precision of the predictions with respect to the labels. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.Precision Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Precision t...
tensorflow.keras.metrics.precision
tf.keras.metrics.PrecisionAtRecall Computes best precision where recall is >= specified value. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.PrecisionAtRecall Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.PrecisionAtRecall tf.keras.metrics...
tensorflow.keras.metrics.precisionatrecall
tf.keras.metrics.Recall View source on GitHub Computes the recall of the predictions with respect to the labels. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.Recall Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Recall tf.keras.metr...
tensorflow.keras.metrics.recall
tf.keras.metrics.RecallAtPrecision Computes best recall where precision is >= specified value. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.RecallAtPrecision Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.RecallAtPrecision tf.keras.metrics...
tensorflow.keras.metrics.recallatprecision
tf.keras.metrics.RootMeanSquaredError View source on GitHub Computes root mean squared error metric between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.RootMeanSquaredError Compat aliases for migration See Migration guide for more details. tf.compat.v1.ke...
tensorflow.keras.metrics.rootmeansquarederror
tf.keras.metrics.SensitivityAtSpecificity View source on GitHub Computes best sensitivity where specificity is >= specified value. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.SensitivityAtSpecificity Compat aliases for migration See Migration guide for more details. tf.compat.v1....
tensorflow.keras.metrics.sensitivityatspecificity
tf.keras.metrics.serialize View source on GitHub Serializes metric function or Metric instance. View aliases Main aliases tf.metrics.serialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.serialize tf.keras.metrics.serialize( metric ) Arguments me...
tensorflow.keras.metrics.serialize
tf.keras.metrics.SparseCategoricalAccuracy View source on GitHub Calculates how often predictions matches integer labels. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.SparseCategoricalAccuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.ke...
tensorflow.keras.metrics.sparsecategoricalaccuracy
tf.keras.metrics.SparseCategoricalCrossentropy View source on GitHub Computes the crossentropy metric between the labels and predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.SparseCategoricalCrossentropy Compat aliases for migration See Migration guide for more deta...
tensorflow.keras.metrics.sparsecategoricalcrossentropy
tf.keras.metrics.SparseTopKCategoricalAccuracy View source on GitHub Computes how often integer targets are in the top K predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.SparseTopKCategoricalAccuracy Compat aliases for migration See Migration guide for more details....
tensorflow.keras.metrics.sparsetopkcategoricalaccuracy
tf.keras.metrics.sparse_categorical_accuracy View source on GitHub Calculates how often predictions matches integer labels. View aliases Main aliases tf.metrics.sparse_categorical_accuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.sparse_categorical_accuracy...
tensorflow.keras.metrics.sparse_categorical_accuracy
tf.keras.metrics.sparse_top_k_categorical_accuracy View source on GitHub Computes how often integer targets are in the top K predictions. View aliases Main aliases tf.metrics.sparse_top_k_categorical_accuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.sparse_...
tensorflow.keras.metrics.sparse_top_k_categorical_accuracy
tf.keras.metrics.SpecificityAtSensitivity View source on GitHub Computes best specificity where sensitivity is >= specified value. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.SpecificityAtSensitivity Compat aliases for migration See Migration guide for more details. tf.compat.v1....
tensorflow.keras.metrics.specificityatsensitivity
tf.keras.metrics.SquaredHinge View source on GitHub Computes the squared hinge metric between y_true and y_pred. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.SquaredHinge Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.SquaredHin...
tensorflow.keras.metrics.squaredhinge
tf.keras.metrics.Sum View source on GitHub Computes the (weighted) sum of the given values. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.Sum Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.Sum tf.keras.metrics.Sum( name='sum', dt...
tensorflow.keras.metrics.sum
tf.keras.metrics.TopKCategoricalAccuracy View source on GitHub Computes how often targets are in the top K predictions. Inherits From: Mean, Metric, Layer, Module View aliases Main aliases tf.metrics.TopKCategoricalAccuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras....
tensorflow.keras.metrics.topkcategoricalaccuracy
tf.keras.metrics.top_k_categorical_accuracy View source on GitHub Computes how often targets are in the top K predictions. View aliases Main aliases tf.metrics.top_k_categorical_accuracy Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.top_k_categorical_accuracy ...
tensorflow.keras.metrics.top_k_categorical_accuracy
tf.keras.metrics.TrueNegatives View source on GitHub Calculates the number of true negatives. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.TrueNegatives Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.TrueNegatives tf.keras.metrics.T...
tensorflow.keras.metrics.truenegatives
tf.keras.metrics.TruePositives View source on GitHub Calculates the number of true positives. Inherits From: Metric, Layer, Module View aliases Main aliases tf.metrics.TruePositives Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.TruePositives tf.keras.metrics.T...
tensorflow.keras.metrics.truepositives
Module: tf.keras.mixed_precision Keras mixed precision API. See the mixed precision guide to learn how to use the API. Modules experimental module: Public API for tf.keras.mixed_precision.experimental namespace. Classes class LossScaleOptimizer: An optimizer that applies loss scaling to prevent numeric underflow. class...
tensorflow.keras.mixed_precision
Module: tf.keras.mixed_precision.experimental Public API for tf.keras.mixed_precision.experimental namespace. Classes class LossScaleOptimizer: An deprecated optimizer that applies loss scaling. class Policy: A deprecated dtype policy for a Keras layer. Functions get_layer_policy(...): Returns the dtype policy of a lay...
tensorflow.keras.mixed_precision.experimental
tf.keras.mixed_precision.experimental.get_layer_policy Returns the dtype policy of a layer. tf.keras.mixed_precision.experimental.get_layer_policy( layer ) Warning: This function is deprecated. Use tf.keras.layers.Layer.dtype_policy instead. Args layer A tf.keras.layers.Layer. Returns The tf.ke...
tensorflow.keras.mixed_precision.experimental.get_layer_policy
tf.keras.mixed_precision.experimental.LossScaleOptimizer View source on GitHub An deprecated optimizer that applies loss scaling. Inherits From: LossScaleOptimizer, Optimizer View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.mixed_precision.experimental.LossSca...
tensorflow.keras.mixed_precision.experimental.lossscaleoptimizer
tf.keras.mixed_precision.experimental.Policy View source on GitHub A deprecated dtype policy for a Keras layer. Inherits From: Policy tf.keras.mixed_precision.experimental.Policy( name, loss_scale='auto' ) Warning: This class is now deprecated and will be removed soon. Please use the non-experimental class...
tensorflow.keras.mixed_precision.experimental.policy