doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
tf.keras.mixed_precision.global_policy Returns the global dtype policy. View aliases Main aliases
tf.keras.mixed_precision.experimental.global_policy
tf.keras.mixed_precision.global_policy()
The global policy is the default tf.keras.mixed_precision.Policy used for layers, if no policy is passed to the layer const... | tensorflow.keras.mixed_precision.global_policy |
tf.keras.mixed_precision.LossScaleOptimizer An optimizer that applies loss scaling to prevent numeric underflow. Inherits From: Optimizer View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.mixed_precision.LossScaleOptimizer
tf.keras.mixed_precision.LossScaleOptimizer... | tensorflow.keras.mixed_precision.lossscaleoptimizer |
tf.keras.mixed_precision.Policy A dtype policy for a Keras layer.
tf.keras.mixed_precision.Policy(
name
)
A dtype policy determines a layer's computation and variable dtypes. Each layer has a policy. Policies can be passed to the dtype argument of layer constructors, or a global policy can be set with tf.keras.mi... | tensorflow.keras.mixed_precision.policy |
tf.keras.mixed_precision.set_global_policy Sets the global dtype policy. View aliases Main aliases
tf.keras.mixed_precision.experimental.set_policy
tf.keras.mixed_precision.set_global_policy(
policy
)
The global policy is the default tf.keras.mixed_precision.Policy used for layers, if no policy is passed to t... | tensorflow.keras.mixed_precision.set_global_policy |
tf.keras.Model View source on GitHub Model groups layers into an object with training and inference features. Inherits From: Layer, Module View aliases Main aliases
tf.keras.models.Model Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.Model, tf.compat.v1.keras.models.Mode... | tensorflow.keras.model |
Module: tf.keras.models Code for model cloning, plus model-related API entries. Classes class Model: Model groups layers into an object with training and inference features. class Sequential: Sequential groups a linear stack of layers into a tf.keras.Model. Functions clone_model(...): Clone any Model instance. load_mod... | tensorflow.keras.models |
tf.keras.models.clone_model View source on GitHub Clone any Model instance. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.models.clone_model
tf.keras.models.clone_model(
model, input_tensors=None, clone_function=None
)
Model cloning is similar to cal... | tensorflow.keras.models.clone_model |
tf.keras.models.load_model View source on GitHub Loads a model saved via model.save(). View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.models.load_model
tf.keras.models.load_model(
filepath, custom_objects=None, compile=True, options=None
)
Usage:
mod... | tensorflow.keras.models.load_model |
tf.keras.models.model_from_config View source on GitHub Instantiates a Keras model from its config. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.models.model_from_config
tf.keras.models.model_from_config(
config, custom_objects=None
)
Usage: # for a... | tensorflow.keras.models.model_from_config |
tf.keras.models.model_from_json View source on GitHub Parses a JSON model configuration string and returns a model instance. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.models.model_from_json
tf.keras.models.model_from_json(
json_string, custom_obje... | tensorflow.keras.models.model_from_json |
tf.keras.models.model_from_yaml View source on GitHub Parses a yaml model configuration file and returns a model instance. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.models.model_from_yaml
tf.keras.models.model_from_yaml(
yaml_string, custom_object... | tensorflow.keras.models.model_from_yaml |
tf.keras.models.save_model View source on GitHub Saves a model as a TensorFlow SavedModel or HDF5 file. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.models.save_model
tf.keras.models.save_model(
model, filepath, overwrite=True, include_optimizer=True... | tensorflow.keras.models.save_model |
Module: tf.keras.optimizers Built-in optimizer classes. View aliases Main aliases
tf.optimizers For more examples see the base class tf.keras.optimizers.Optimizer. Modules schedules module: Public API for tf.keras.optimizers.schedules namespace. Classes class Adadelta: Optimizer that implements the Adadelta algorit... | tensorflow.keras.optimizers |
tf.keras.optimizers.Adadelta View source on GitHub Optimizer that implements the Adadelta algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.Adadelta Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Adadelta
tf.keras.optimizers.Adadelt... | tensorflow.keras.optimizers.adadelta |
tf.keras.optimizers.Adagrad View source on GitHub Optimizer that implements the Adagrad algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.Adagrad Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Adagrad
tf.keras.optimizers.Adagrad(
... | tensorflow.keras.optimizers.adagrad |
tf.keras.optimizers.Adam View source on GitHub Optimizer that implements the Adam algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.Adam Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Adam
tf.keras.optimizers.Adam(
learning_rate... | tensorflow.keras.optimizers.adam |
tf.keras.optimizers.Adamax View source on GitHub Optimizer that implements the Adamax algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.Adamax Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Adamax
tf.keras.optimizers.Adamax(
lea... | tensorflow.keras.optimizers.adamax |
tf.keras.optimizers.deserialize View source on GitHub Inverse of the serialize function. View aliases Main aliases
tf.optimizers.deserialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.deserialize
tf.keras.optimizers.deserialize(
config, custom_object... | tensorflow.keras.optimizers.deserialize |
tf.keras.optimizers.Ftrl View source on GitHub Optimizer that implements the FTRL algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.Ftrl Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Ftrl
tf.keras.optimizers.Ftrl(
learning_ra... | tensorflow.keras.optimizers.ftrl |
tf.keras.optimizers.get View source on GitHub Retrieves a Keras Optimizer instance. View aliases Main aliases
tf.optimizers.get Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.get
tf.keras.optimizers.get(
identifier
)
Arguments
identifier Optimi... | tensorflow.keras.optimizers.get |
tf.keras.optimizers.Nadam View source on GitHub Optimizer that implements the NAdam algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.Nadam Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Nadam
tf.keras.optimizers.Nadam(
learning... | tensorflow.keras.optimizers.nadam |
tf.keras.optimizers.Optimizer View source on GitHub Base class for Keras optimizers. View aliases Main aliases
tf.optimizers.Optimizer Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.Optimizer
tf.keras.optimizers.Optimizer(
name, gradient_aggregator=None,... | tensorflow.keras.optimizers.optimizer |
tf.keras.optimizers.RMSprop View source on GitHub Optimizer that implements the RMSprop algorithm. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.RMSprop Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.RMSprop
tf.keras.optimizers.RMSprop(
... | tensorflow.keras.optimizers.rmsprop |
Module: tf.keras.optimizers.schedules Public API for tf.keras.optimizers.schedules namespace. View aliases Main aliases
tf.optimizers.schedules Classes class ExponentialDecay: A LearningRateSchedule that uses an exponential decay schedule. class InverseTimeDecay: A LearningRateSchedule that uses an inverse time dec... | tensorflow.keras.optimizers.schedules |
tf.keras.optimizers.schedules.deserialize View source on GitHub View aliases Main aliases
tf.optimizers.schedules.deserialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.schedules.deserialize
tf.keras.optimizers.schedules.deserialize(
config, custom_o... | tensorflow.keras.optimizers.schedules.deserialize |
tf.keras.optimizers.schedules.ExponentialDecay View source on GitHub A LearningRateSchedule that uses an exponential decay schedule. Inherits From: LearningRateSchedule View aliases Main aliases
tf.optimizers.schedules.ExponentialDecay Compat aliases for migration See Migration guide for more details. tf.comp... | tensorflow.keras.optimizers.schedules.exponentialdecay |
tf.keras.optimizers.schedules.InverseTimeDecay View source on GitHub A LearningRateSchedule that uses an inverse time decay schedule. Inherits From: LearningRateSchedule View aliases Main aliases
tf.optimizers.schedules.InverseTimeDecay Compat aliases for migration See Migration guide for more details. tf.com... | tensorflow.keras.optimizers.schedules.inversetimedecay |
tf.keras.optimizers.schedules.LearningRateSchedule View source on GitHub A serializable learning rate decay schedule. View aliases Main aliases
tf.optimizers.schedules.LearningRateSchedule Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.schedules.LearningRateSc... | tensorflow.keras.optimizers.schedules.learningrateschedule |
tf.keras.optimizers.schedules.PiecewiseConstantDecay View source on GitHub A LearningRateSchedule that uses a piecewise constant decay schedule. Inherits From: LearningRateSchedule View aliases Main aliases
tf.optimizers.schedules.PiecewiseConstantDecay Compat aliases for migration See Migration guide for mor... | tensorflow.keras.optimizers.schedules.piecewiseconstantdecay |
tf.keras.optimizers.schedules.PolynomialDecay View source on GitHub A LearningRateSchedule that uses a polynomial decay schedule. Inherits From: LearningRateSchedule View aliases Main aliases
tf.optimizers.schedules.PolynomialDecay Compat aliases for migration See Migration guide for more details. tf.compat.v... | tensorflow.keras.optimizers.schedules.polynomialdecay |
tf.keras.optimizers.schedules.serialize View source on GitHub View aliases Main aliases
tf.optimizers.schedules.serialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.schedules.serialize
tf.keras.optimizers.schedules.serialize(
learning_rate_schedule
) | tensorflow.keras.optimizers.schedules.serialize |
tf.keras.optimizers.serialize View source on GitHub View aliases Main aliases
tf.optimizers.serialize Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.serialize
tf.keras.optimizers.serialize(
optimizer
) | tensorflow.keras.optimizers.serialize |
tf.keras.optimizers.SGD View source on GitHub Gradient descent (with momentum) optimizer. Inherits From: Optimizer View aliases Main aliases
tf.optimizers.SGD Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.optimizers.SGD
tf.keras.optimizers.SGD(
learning_rate=0.01,... | tensorflow.keras.optimizers.sgd |
Module: tf.keras.preprocessing Keras data preprocessing utils. Modules image module: Set of tools for real-time data augmentation on image data. sequence module: Utilities for preprocessing sequence data. text module: Utilities for text input preprocessing. Functions image_dataset_from_directory(...): Generates a tf.da... | tensorflow.keras.preprocessing |
Module: tf.keras.preprocessing.image Set of tools for real-time data augmentation on image data. Classes class DirectoryIterator: Iterator capable of reading images from a directory on disk. class ImageDataGenerator: Generate batches of tensor image data with real-time data augmentation. class Iterator: Base class for ... | tensorflow.keras.preprocessing.image |
tf.keras.preprocessing.image.apply_affine_transform View source on GitHub Applies an affine transformation specified by the parameters given. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.apply_affine_transform
tf.keras.preprocessing.i... | tensorflow.keras.preprocessing.image.apply_affine_transform |
tf.keras.preprocessing.image.apply_brightness_shift View source on GitHub Performs a brightness shift. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.apply_brightness_shift
tf.keras.preprocessing.image.apply_brightness_shift(
x, bri... | tensorflow.keras.preprocessing.image.apply_brightness_shift |
tf.keras.preprocessing.image.apply_channel_shift View source on GitHub Performs a channel shift. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.apply_channel_shift
tf.keras.preprocessing.image.apply_channel_shift(
x, intensity, chan... | tensorflow.keras.preprocessing.image.apply_channel_shift |
tf.keras.preprocessing.image.array_to_img View source on GitHub Converts a 3D Numpy array to a PIL Image instance. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.array_to_img
tf.keras.preprocessing.image.array_to_img(
x, data_format... | tensorflow.keras.preprocessing.image.array_to_img |
tf.keras.preprocessing.image.DirectoryIterator View source on GitHub Iterator capable of reading images from a directory on disk. Inherits From: Iterator, Sequence View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.DirectoryIterator
tf.kera... | tensorflow.keras.preprocessing.image.directoryiterator |
tf.keras.preprocessing.image.ImageDataGenerator View source on GitHub Generate batches of tensor image data with real-time data augmentation. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.ImageDataGenerator
tf.keras.preprocessing.image... | tensorflow.keras.preprocessing.image.imagedatagenerator |
tf.keras.preprocessing.image.img_to_array View source on GitHub Converts a PIL Image instance to a Numpy array. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.img_to_array
tf.keras.preprocessing.image.img_to_array(
img, data_format=... | tensorflow.keras.preprocessing.image.img_to_array |
tf.keras.preprocessing.image.Iterator View source on GitHub Base class for image data iterators. Inherits From: Sequence View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.Iterator
tf.keras.preprocessing.image.Iterator(
n, batch_size, s... | tensorflow.keras.preprocessing.image.iterator |
tf.keras.preprocessing.image.load_img View source on GitHub Loads an image into PIL format. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.load_img
tf.keras.preprocessing.image.load_img(
path, grayscale=False, color_mode='rgb', targ... | tensorflow.keras.preprocessing.image.load_img |
tf.keras.preprocessing.image.NumpyArrayIterator View source on GitHub Iterator yielding data from a Numpy array. Inherits From: Iterator, Sequence View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.NumpyArrayIterator
tf.keras.preprocessing.... | tensorflow.keras.preprocessing.image.numpyarrayiterator |
tf.keras.preprocessing.image.random_brightness View source on GitHub Performs a random brightness shift. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.random_brightness
tf.keras.preprocessing.image.random_brightness(
x, brightness_... | tensorflow.keras.preprocessing.image.random_brightness |
tf.keras.preprocessing.image.random_channel_shift View source on GitHub Performs a random channel shift. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.random_channel_shift
tf.keras.preprocessing.image.random_channel_shift(
x, inten... | tensorflow.keras.preprocessing.image.random_channel_shift |
tf.keras.preprocessing.image.random_rotation View source on GitHub Performs a random rotation of a Numpy image tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.random_rotation
tf.keras.preprocessing.image.random_rotation(
x, r... | tensorflow.keras.preprocessing.image.random_rotation |
tf.keras.preprocessing.image.random_shear View source on GitHub Performs a random spatial shear of a Numpy image tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.random_shear
tf.keras.preprocessing.image.random_shear(
x, inten... | tensorflow.keras.preprocessing.image.random_shear |
tf.keras.preprocessing.image.random_shift View source on GitHub Performs a random spatial shift of a Numpy image tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.random_shift
tf.keras.preprocessing.image.random_shift(
x, wrg, ... | tensorflow.keras.preprocessing.image.random_shift |
tf.keras.preprocessing.image.random_zoom View source on GitHub Performs a random spatial zoom of a Numpy image tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.random_zoom
tf.keras.preprocessing.image.random_zoom(
x, zoom_rang... | tensorflow.keras.preprocessing.image.random_zoom |
tf.keras.preprocessing.image.save_img View source on GitHub Saves an image stored as a Numpy array to a path or file object. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.image.save_img
tf.keras.preprocessing.image.save_img(
path, x, dat... | tensorflow.keras.preprocessing.image.save_img |
tf.keras.preprocessing.image.smart_resize Resize images to a target size without aspect ratio distortion.
tf.keras.preprocessing.image.smart_resize(
x, size, interpolation='bilinear'
)
TensorFlow image datasets typically yield images that have each a different size. However, these images need to be batched before... | tensorflow.keras.preprocessing.image.smart_resize |
tf.keras.preprocessing.image_dataset_from_directory Generates a tf.data.Dataset from image files in a directory.
tf.keras.preprocessing.image_dataset_from_directory(
directory, labels='inferred', label_mode='int',
class_names=None, color_mode='rgb', batch_size=32, image_size=(256,
256), shuffle=True, seed=... | tensorflow.keras.preprocessing.image_dataset_from_directory |
Module: tf.keras.preprocessing.sequence Utilities for preprocessing sequence data. Classes class TimeseriesGenerator: Utility class for generating batches of temporal data. Functions make_sampling_table(...): Generates a word rank-based probabilistic sampling table. pad_sequences(...): Pads sequences to the same length... | tensorflow.keras.preprocessing.sequence |
tf.keras.preprocessing.sequence.make_sampling_table View source on GitHub Generates a word rank-based probabilistic sampling table. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.sequence.make_sampling_table
tf.keras.preprocessing.sequence.ma... | tensorflow.keras.preprocessing.sequence.make_sampling_table |
tf.keras.preprocessing.sequence.pad_sequences View source on GitHub Pads sequences to the same length. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.sequence.pad_sequences
tf.keras.preprocessing.sequence.pad_sequences(
sequences, maxlen=... | tensorflow.keras.preprocessing.sequence.pad_sequences |
tf.keras.preprocessing.sequence.skipgrams View source on GitHub Generates skipgram word pairs. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.sequence.skipgrams
tf.keras.preprocessing.sequence.skipgrams(
sequence, vocabulary_size, window_... | tensorflow.keras.preprocessing.sequence.skipgrams |
tf.keras.preprocessing.sequence.TimeseriesGenerator View source on GitHub Utility class for generating batches of temporal data. Inherits From: Sequence View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.sequence.TimeseriesGenerator
tf.keras.prep... | tensorflow.keras.preprocessing.sequence.timeseriesgenerator |
Module: tf.keras.preprocessing.text Utilities for text input preprocessing. Classes class Tokenizer: Text tokenization utility class. Functions hashing_trick(...): Converts a text to a sequence of indexes in a fixed-size hashing space. one_hot(...): One-hot encodes a text into a list of word indexes of size n. text_to_... | tensorflow.keras.preprocessing.text |
tf.keras.preprocessing.text.hashing_trick View source on GitHub Converts a text to a sequence of indexes in a fixed-size hashing space. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.text.hashing_trick
tf.keras.preprocessing.text.hashing_tr... | tensorflow.keras.preprocessing.text.hashing_trick |
tf.keras.preprocessing.text.one_hot View source on GitHub One-hot encodes a text into a list of word indexes of size n. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.text.one_hot
tf.keras.preprocessing.text.one_hot(
input_text, n,
... | tensorflow.keras.preprocessing.text.one_hot |
tf.keras.preprocessing.text.text_to_word_sequence View source on GitHub Converts a text to a sequence of words (or tokens). View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.text.text_to_word_sequence
tf.keras.preprocessing.text.text_to_word_s... | tensorflow.keras.preprocessing.text.text_to_word_sequence |
tf.keras.preprocessing.text.Tokenizer View source on GitHub Text tokenization utility class. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.text.Tokenizer
tf.keras.preprocessing.text.Tokenizer(
num_words=None,
filters='!"#$%&()*+,-.... | tensorflow.keras.preprocessing.text.tokenizer |
tf.keras.preprocessing.text.tokenizer_from_json Parses a JSON tokenizer configuration file and returns a View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.preprocessing.text.tokenizer_from_json
tf.keras.preprocessing.text.tokenizer_from_json(
json_string
)
toke... | tensorflow.keras.preprocessing.text.tokenizer_from_json |
tf.keras.preprocessing.text_dataset_from_directory Generates a tf.data.Dataset from text files in a directory.
tf.keras.preprocessing.text_dataset_from_directory(
directory, labels='inferred', label_mode='int',
class_names=None, batch_size=32, max_length=None, shuffle=True, seed=None,
validation_split=None... | tensorflow.keras.preprocessing.text_dataset_from_directory |
tf.keras.preprocessing.timeseries_dataset_from_array Creates a dataset of sliding windows over a timeseries provided as array.
tf.keras.preprocessing.timeseries_dataset_from_array(
data, targets, sequence_length, sequence_stride=1, sampling_rate=1,
batch_size=128, shuffle=False, seed=None, start_index=None, en... | tensorflow.keras.preprocessing.timeseries_dataset_from_array |
Module: tf.keras.regularizers Built-in regularizers. Classes class L1: A regularizer that applies a L1 regularization penalty. class L1L2: A regularizer that applies both L1 and L2 regularization penalties. class L2: A regularizer that applies a L2 regularization penalty. class Regularizer: Regularizer base class. clas... | tensorflow.keras.regularizers |
tf.keras.regularizers.deserialize View source on GitHub View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.regularizers.deserialize
tf.keras.regularizers.deserialize(
config, custom_objects=None
) | tensorflow.keras.regularizers.deserialize |
tf.keras.regularizers.get View source on GitHub Retrieve a regularizer instance from a config or identifier. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.regularizers.get
tf.keras.regularizers.get(
identifier
) | tensorflow.keras.regularizers.get |
tf.keras.regularizers.L1 A regularizer that applies a L1 regularization penalty. Inherits From: Regularizer View aliases Main aliases
tf.keras.regularizers.l1 Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.regularizers.L1, tf.compat.v1.keras.regularizers.l1
tf.keras.regulariz... | tensorflow.keras.regularizers.l1 |
tf.keras.regularizers.L1L2 View source on GitHub A regularizer that applies both L1 and L2 regularization penalties. Inherits From: Regularizer View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.regularizers.L1L2
tf.keras.regularizers.L1L2(
l1=0.0, l2=0.0
... | tensorflow.keras.regularizers.l1l2 |
tf.keras.regularizers.l1_l2 View source on GitHub Create a regularizer that applies both L1 and L2 penalties. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.regularizers.l1_l2
tf.keras.regularizers.l1_l2(
l1=0.01, l2=0.01
)
The L1 regularization penal... | tensorflow.keras.regularizers.l1_l2 |
tf.keras.regularizers.L2 A regularizer that applies a L2 regularization penalty. Inherits From: Regularizer View aliases Main aliases
tf.keras.regularizers.l2 Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.regularizers.L2, tf.compat.v1.keras.regularizers.l2
tf.keras.regulariz... | tensorflow.keras.regularizers.l2 |
tf.keras.regularizers.Regularizer View source on GitHub Regularizer base class. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.regularizers.Regularizer Regularizers allow you to apply penalties on layer parameters or layer activity during optimization. Thes... | tensorflow.keras.regularizers.regularizer |
tf.keras.regularizers.serialize View source on GitHub View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.regularizers.serialize
tf.keras.regularizers.serialize(
regularizer
) | tensorflow.keras.regularizers.serialize |
tf.keras.Sequential View source on GitHub Sequential groups a linear stack of layers into a tf.keras.Model. Inherits From: Model, Layer, Module View aliases Main aliases
tf.keras.models.Sequential Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.Sequential, tf.compat.v1.ke... | tensorflow.keras.sequential |
Module: tf.keras.utils Public API for tf.keras.utils namespace. Classes class CustomObjectScope: Exposes custom classes/functions to Keras deserialization internals. class GeneratorEnqueuer: Builds a queue out of a data generator. class OrderedEnqueuer: Builds a Enqueuer from a Sequence. class Progbar: Displays a progr... | tensorflow.keras.utils |
tf.keras.utils.CustomObjectScope View source on GitHub Exposes custom classes/functions to Keras deserialization internals. View aliases Main aliases
tf.keras.utils.custom_object_scope Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.utils.CustomObjectScope, tf.compat.v1.k... | tensorflow.keras.utils.customobjectscope |
tf.keras.utils.deserialize_keras_object View source on GitHub Turns the serialized form of a Keras object back into an actual object. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.deserialize_keras_object
tf.keras.utils.deserialize_keras_object(
... | tensorflow.keras.utils.deserialize_keras_object |
tf.keras.utils.GeneratorEnqueuer View source on GitHub Builds a queue out of a data generator. Inherits From: SequenceEnqueuer View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.GeneratorEnqueuer
tf.keras.utils.GeneratorEnqueuer(
sequence, use_multip... | tensorflow.keras.utils.generatorenqueuer |
tf.keras.utils.get_custom_objects View source on GitHub Retrieves a live reference to the global dictionary of custom objects. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.get_custom_objects
tf.keras.utils.get_custom_objects()
Updating and clearin... | tensorflow.keras.utils.get_custom_objects |
tf.keras.utils.get_file View source on GitHub Downloads a file from a URL if it not already in the cache. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.get_file
tf.keras.utils.get_file(
fname, origin, untar=False, md5_hash=None, file_hash=None,
... | tensorflow.keras.utils.get_file |
tf.keras.utils.get_registered_name Returns the name registered to an object within the Keras framework. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.get_registered_name
tf.keras.utils.get_registered_name(
obj
)
This function is part of the Keras seri... | tensorflow.keras.utils.get_registered_name |
tf.keras.utils.get_registered_object Returns the class associated with name if it is registered with Keras. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.get_registered_object
tf.keras.utils.get_registered_object(
name, custom_objects=None, module_obje... | tensorflow.keras.utils.get_registered_object |
tf.keras.utils.get_source_inputs View source on GitHub Returns the list of input tensors necessary to compute tensor. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.get_source_inputs
tf.keras.utils.get_source_inputs(
tensor, layer=None, node_inde... | tensorflow.keras.utils.get_source_inputs |
tf.keras.utils.model_to_dot View source on GitHub Convert a Keras model to dot format. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.model_to_dot
tf.keras.utils.model_to_dot(
model, show_shapes=False, show_dtype=False, show_layer_names=True,
... | tensorflow.keras.utils.model_to_dot |
tf.keras.utils.normalize View source on GitHub Normalizes a Numpy array. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.normalize
tf.keras.utils.normalize(
x, axis=-1, order=2
)
Arguments
x Numpy array to normalize.
axis axis alon... | tensorflow.keras.utils.normalize |
tf.keras.utils.OrderedEnqueuer View source on GitHub Builds a Enqueuer from a Sequence. Inherits From: SequenceEnqueuer View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.OrderedEnqueuer
tf.keras.utils.OrderedEnqueuer(
sequence, use_multiprocessing=F... | tensorflow.keras.utils.orderedenqueuer |
tf.keras.utils.pack_x_y_sample_weight Packs user-provided data into a tuple.
tf.keras.utils.pack_x_y_sample_weight(
x, y=None, sample_weight=None
)
This is a convenience utility for packing data into the tuple formats that Model.fit uses. Standalone usage:
x = tf.ones((10, 1))
data = tf.keras.utils.pack_x_y_samp... | tensorflow.keras.utils.pack_x_y_sample_weight |
tf.keras.utils.plot_model View source on GitHub Converts a Keras model to dot format and save to a file. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.plot_model
tf.keras.utils.plot_model(
model, to_file='model.png', show_shapes=False, show_dtyp... | tensorflow.keras.utils.plot_model |
tf.keras.utils.Progbar View source on GitHub Displays a progress bar. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.Progbar
tf.keras.utils.Progbar(
target, width=30, verbose=1, interval=0.05, stateful_metrics=None,
unit_name='step'
)
A... | tensorflow.keras.utils.progbar |
tf.keras.utils.register_keras_serializable Registers an object with the Keras serialization framework. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.register_keras_serializable
tf.keras.utils.register_keras_serializable(
package='Custom', name=None
)
... | tensorflow.keras.utils.register_keras_serializable |
tf.keras.utils.Sequence View source on GitHub Base object for fitting to a sequence of data, such as a dataset. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.Sequence Every Sequence must implement the __getitem__ and the __len__ methods. If you want ... | tensorflow.keras.utils.sequence |
tf.keras.utils.SequenceEnqueuer View source on GitHub Base class to enqueue inputs. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.SequenceEnqueuer
tf.keras.utils.SequenceEnqueuer(
sequence, use_multiprocessing=False
)
The task of an Enqueuer is... | tensorflow.keras.utils.sequenceenqueuer |
tf.keras.utils.serialize_keras_object View source on GitHub Serialize a Keras object into a JSON-compatible representation. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.serialize_keras_object
tf.keras.utils.serialize_keras_object(
instance
) | tensorflow.keras.utils.serialize_keras_object |
tf.keras.utils.to_categorical View source on GitHub Converts a class vector (integers) to binary class matrix. View aliases Compat aliases for migration
See Migration guide for more details. tf.compat.v1.keras.utils.to_categorical
tf.keras.utils.to_categorical(
y, num_classes=None, dtype='float32'
)
E.... | tensorflow.keras.utils.to_categorical |
tf.keras.utils.unpack_x_y_sample_weight Unpacks user-provided data tuple.
tf.keras.utils.unpack_x_y_sample_weight(
data
)
This is a convenience utility to be used when overriding Model.train_step, Model.test_step, or Model.predict_step. This utility makes it easy to support data of the form (x,), (x, y), or (x, y... | tensorflow.keras.utils.unpack_x_y_sample_weight |
Module: tf.keras.wrappers Public API for tf.keras.wrappers namespace. Modules scikit_learn module: Wrapper for using the Scikit-Learn API with Keras models. | tensorflow.keras.wrappers |
Module: tf.keras.wrappers.scikit_learn Wrapper for using the Scikit-Learn API with Keras models. Classes class KerasClassifier: Implementation of the scikit-learn classifier API for Keras. class KerasRegressor: Implementation of the scikit-learn regressor API for Keras. | tensorflow.keras.wrappers.scikit_learn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.