Keras utilities.
Classes
class CustomObjectScope
: Provides a scope that changes to_GLOBAL_CUSTOM_OBJECTS
cannot escape.class GeneratorEnqueuer
: Builds a queue out of a data generator.class HDF5Matrix
: Representation of HDF5 dataset to be used instead of a Numpy array.class OrderedEnqueuer
: Builds a Enqueuer from a Sequence.class Progbar
: Displays a progress bar.class Sequence
: Base object for fitting to a sequence of data, such as a dataset.class SequenceEnqueuer
: Base class to enqueue inputs.
Functions
convert_all_kernels_in_model(...)
: Converts all convolution kernels in a model from Theano to TensorFlow.custom_object_scope(...)
: Provides a scope that changes to_GLOBAL_CUSTOM_OBJECTS
cannot escape.deserialize_keras_object(...)
get_custom_objects(...)
: Retrieves a live reference to the global dictionary of custom objects.get_file(...)
: Downloads a file from a URL if it not already in the cache.get_source_inputs(...)
: Returns the list of input tensors necessary to computetensor
.model_to_dot(...)
: Convert a Keras model to dot format.multi_gpu_model(...)
: Replicates a model on different GPUs. (deprecated)normalize(...)
: Normalizes a Numpy array.plot_model(...)
: Converts a Keras model to dot format and save to a file.serialize_keras_object(...)
to_categorical(...)
: Converts a class vector (integers) to binary class matrix.