bigdl.examples.keras package
Submodules
bigdl.examples.keras.imdb_bigdl_backend module
bigdl.examples.keras.imdb_cnn_lstm module
-
bigdl.examples.keras.imdb_cnn_lstm.build_keras_model()[source]
Define a recurrent convolutional model in Keras 1.2.2
-
bigdl.examples.keras.imdb_cnn_lstm.load_imdb()[source]
Load IMDB dataset
Transform input data into an RDD of Sample
bigdl.examples.keras.keras_utils module
-
bigdl.examples.keras.keras_utils.dump_keras(keras_model, json_path=None, hdf5_path=None, dump_weights=False)[source]
-
bigdl.examples.keras.keras_utils.save_keras_definition(keras_model, path)[source]
Save a Keras model definition to JSON with given path
bigdl.examples.keras.mnist_cnn module
-
bigdl.examples.keras.mnist_cnn.build_keras_model()[source]
Define a convnet model in Keras 1.2.2
-
bigdl.examples.keras.mnist_cnn.get_mnist(sc, data_type='train', location='/tmp/mnist')[source]
Download or load MNIST dataset to/from the specified path.
Normalize and transform input data into an RDD of Sample
Module contents