Module: contrib.keras.utils

Module: tf.contrib.keras.utils

Module tf.contrib.keras.utils

Defined in tensorflow/contrib/keras/api/keras/utils/__init__.py.

Keras utilities.

Classes

class CustomObjectScope: Provides a scope that changes to _GLOBAL_CUSTOM_OBJECTS cannot escape.

class HDF5Matrix: Representation of HDF5 dataset to be used instead of a Numpy array.

class Progbar: Displays a progress bar.

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.

normalize(...): Normalizes a Numpy array.

plot_model(...)

serialize_keras_object(...)

to_categorical(...): Converts a class vector (integers) to binary class matrix.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/keras/utils

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部