keras 2.2.3__tar.gz → 2.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Keras-2.2.3 → Keras-2.2.4/Keras.egg-info}/PKG-INFO +2 -2
- {Keras-2.2.3/Keras.egg-info → Keras-2.2.4}/PKG-INFO +2 -2
- {Keras-2.2.3 → Keras-2.2.4}/docs/autogen.py +1 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/__init__.py +1 -1
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/sequential.py +3 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/training_generator.py +2 -1
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/io_utils.py +4 -2
- {Keras-2.2.3 → Keras-2.2.4}/setup.py +2 -2
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/backend/backend_test.py +17 -18
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/backend/reference_operations.py +20 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/engine/test_training.py +13 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_model_saving.py +23 -0
- {Keras-2.2.3 → Keras-2.2.4}/CONTRIBUTING.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/Keras.egg-info/SOURCES.txt +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/Keras.egg-info/dependency_links.txt +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/Keras.egg-info/requires.txt +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/Keras.egg-info/top_level.txt +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/LICENSE +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/MANIFEST.in +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/README.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/README.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/__init__.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/autogen.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/mkdocs.yml +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/activations.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/applications.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/backend.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/callbacks.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/constraints.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/datasets.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/getting-started/faq.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/getting-started/functional-api-guide.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/getting-started/sequential-model-guide.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/index.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/initializers.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/layers/about-keras-layers.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/layers/writing-your-own-keras-layers.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/losses.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/metrics.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/models/about-keras-models.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/models/model.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/models/sequential.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/optimizers.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/preprocessing/image.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/preprocessing/text.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/regularizers.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/scikit-learn-api.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/visualization.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/docs/templates/why-use-keras.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/README.md +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/addition_rnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/antirectifier.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/babi_memnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/babi_rnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/cifar10_cnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/cifar10_cnn_capsule.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/cifar10_cnn_tfaugment2d.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/cifar10_resnet.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/conv_filter_visualization.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/conv_lstm.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/deep_dream.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/image_ocr.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/imdb_bidirectional_lstm.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/imdb_cnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/imdb_cnn_lstm.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/imdb_fasttext.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/imdb_lstm.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/lstm_seq2seq.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/lstm_seq2seq_restore.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/lstm_stateful.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/lstm_text_generation.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_acgan.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_cnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_dataset_api.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_denoising_autoencoder.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_hierarchical_rnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_irnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_mlp.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_net2net.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_siamese.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_sklearn_wrapper.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_swwae.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_tfrecord.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/mnist_transfer_cnn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/neural_doodle.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/neural_style_transfer.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/pretrained_word_embeddings.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/reuters_mlp.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/reuters_mlp_relu_vs_selu.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/tensorboard_embeddings_mnist.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/variational_autoencoder.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/examples/variational_autoencoder_deconv.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/activations.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/densenet.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/imagenet_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/inception_resnet_v2.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/inception_v3.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/mobilenet.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/mobilenet_v2.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/mobilenetv2.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/nasnet.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/resnet50.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/vgg16.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/vgg19.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/applications/xception.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/backend/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/backend/cntk_backend.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/backend/common.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/backend/tensorflow_backend.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/backend/theano_backend.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/callbacks.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/constraints.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/boston_housing.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/cifar.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/cifar10.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/cifar100.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/fashion_mnist.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/imdb.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/mnist.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/datasets/reuters.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/base_layer.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/input_layer.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/network.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/saving.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/topology.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/training.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/training_arrays.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/engine/training_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/initializers.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/advanced_activations.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/convolutional.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/convolutional_recurrent.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/core.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/cudnn_recurrent.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/embeddings.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/local.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/merge.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/noise.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/normalization.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/pooling.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/recurrent.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/layers/wrappers.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/legacy/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/legacy/interfaces.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/legacy/layers.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/losses.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/metrics.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/models.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/objectives.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/optimizers.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/preprocessing/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/preprocessing/image.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/preprocessing/sequence.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/preprocessing/text.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/regularizers.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/conv_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/data_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/generic_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/layer_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/multi_gpu_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/np_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/test_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/utils/vis_utils.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/wrappers/__init__.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/keras/wrappers/scikit_learn.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/setup.cfg +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_doc_auto_generation.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_documentation.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_dynamic_trainability.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_loss_masking.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_loss_weighting.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_model_saving.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/__pycache__/test_multiprocessing.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/conftest.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/__pycache__/applications_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/__pycache__/imagenet_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/__pycache__/test_datasets.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/__pycache__/test_image_data_tasks.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/__pycache__/test_temporal_data_tasks.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/__pycache__/test_vector_data_tasks.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/applications_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/imagenet_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/preprocessing/image_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/preprocessing/sequence_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/preprocessing/text_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/test_datasets.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/test_image_data_tasks.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/test_temporal_data_tasks.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/test_tensorflow_integration.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/integration_tests/test_vector_data_tasks.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/activations_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/constraints_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/initializers_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/losses_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/metrics_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/optimizers_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/regularizers_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/test_callbacks.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/__pycache__/test_sequential_model.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/activations_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/backend/__pycache__/backend_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/backend/reference_operations.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/constraints_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/engine/__pycache__/test_topology.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/engine/__pycache__/test_training.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/engine/test_topology.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/initializers_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/advanced_activations_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/convolutional_recurrent_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/convolutional_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/core_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/cudnn_recurrent_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/embeddings_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/local_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/merge_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/noise_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/normalization_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/recurrent_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/__pycache__/wrappers_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/advanced_activations_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/convolutional_recurrent_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/convolutional_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/core_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/cudnn_recurrent_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/embeddings_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/local_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/merge_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/noise_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/normalization_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/pooling_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/recurrent_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/layers/wrappers_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/legacy/__pycache__/interface_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/legacy/__pycache__/layers_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/legacy/interface_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/legacy/layers_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/losses_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/metrics_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/optimizers_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/preprocessing/__pycache__/image_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/preprocessing/__pycache__/sequence_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/preprocessing/__pycache__/text_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/regularizers_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/test_callbacks.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/test_sequential_model.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/conv_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/data_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/generic_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/io_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/layer_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/multi_gpu_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/np_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/__pycache__/vis_utils_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/conv_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/data_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/generic_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/io_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/layer_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/multi_gpu_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/np_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/utils/vis_utils_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/wrappers/__pycache__/scikit_learn_test.cpython-27-PYTEST.pyc +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/keras/wrappers/scikit_learn_test.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_doc_auto_generation.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_documentation.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_dynamic_trainability.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_loss_masking.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_loss_weighting.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_model_pickling.py +0 -0
- {Keras-2.2.3 → Keras-2.2.4}/tests/test_multiprocessing.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Keras
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: Deep Learning for humans
|
|
5
5
|
Home-page: https://github.com/keras-team/keras
|
|
6
6
|
Author: Francois Chollet
|
|
7
7
|
Author-email: francois.chollet@gmail.com
|
|
8
8
|
License: MIT
|
|
9
|
-
Download-URL: https://github.com/keras-team/keras/tarball/2.2.
|
|
9
|
+
Download-URL: https://github.com/keras-team/keras/tarball/2.2.4
|
|
10
10
|
Description:
|
|
11
11
|
Keras is a high-level neural networks API,
|
|
12
12
|
written in Python and capable of running on top of
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Keras
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: Deep Learning for humans
|
|
5
5
|
Home-page: https://github.com/keras-team/keras
|
|
6
6
|
Author: Francois Chollet
|
|
7
7
|
Author-email: francois.chollet@gmail.com
|
|
8
8
|
License: MIT
|
|
9
|
-
Download-URL: https://github.com/keras-team/keras/tarball/2.2.
|
|
9
|
+
Download-URL: https://github.com/keras-team/keras/tarball/2.2.4
|
|
10
10
|
Description:
|
|
11
11
|
Keras is a high-level neural networks API,
|
|
12
12
|
written in Python and capable of running on top of
|
|
@@ -291,6 +291,9 @@ class Sequential(Model):
|
|
|
291
291
|
name = config['name']
|
|
292
292
|
build_input_shape = config.get('build_input_shape')
|
|
293
293
|
layer_configs = config['layers']
|
|
294
|
+
else: # legacy config file
|
|
295
|
+
name = build_input_shape = None
|
|
296
|
+
layer_configs = config
|
|
294
297
|
model = cls(name=name)
|
|
295
298
|
for conf in layer_configs:
|
|
296
299
|
layer = layer_module.deserialize(conf,
|
|
@@ -124,7 +124,8 @@ def fit_generator(model,
|
|
|
124
124
|
elif val_gen:
|
|
125
125
|
val_data = validation_data
|
|
126
126
|
if isinstance(val_data, Sequence):
|
|
127
|
-
val_enqueuer_gen = iter_sequence_infinite(
|
|
127
|
+
val_enqueuer_gen = iter_sequence_infinite(val_data)
|
|
128
|
+
validation_steps = validation_steps or len(val_data)
|
|
128
129
|
else:
|
|
129
130
|
val_enqueuer_gen = val_data
|
|
130
131
|
else:
|
|
@@ -183,11 +183,13 @@ class H5Dict(object):
|
|
|
183
183
|
self.data = path
|
|
184
184
|
self._is_file = False
|
|
185
185
|
elif isinstance(path, str):
|
|
186
|
-
self.data = h5py.File(path,)
|
|
186
|
+
self.data = h5py.File(path, mode=mode)
|
|
187
187
|
self._is_file = True
|
|
188
188
|
elif isinstance(path, dict):
|
|
189
189
|
self.data = path
|
|
190
190
|
self._is_file = False
|
|
191
|
+
if mode == 'w':
|
|
192
|
+
self.data.clear()
|
|
191
193
|
# Flag to check if a dict is user defined data or a sub group:
|
|
192
194
|
self.data['_is_group'] = True
|
|
193
195
|
else:
|
|
@@ -209,7 +211,7 @@ class H5Dict(object):
|
|
|
209
211
|
else:
|
|
210
212
|
self.data[attr] = val
|
|
211
213
|
return
|
|
212
|
-
if attr in self:
|
|
214
|
+
if isinstance(self.data, h5py.Group) and attr in self.data:
|
|
213
215
|
raise KeyError('Cannot set attribute. '
|
|
214
216
|
'Group with name "{}" exists.'.format(attr))
|
|
215
217
|
if is_np:
|
|
@@ -24,13 +24,13 @@ and is distributed under the MIT license.
|
|
|
24
24
|
'''
|
|
25
25
|
|
|
26
26
|
setup(name='Keras',
|
|
27
|
-
version='2.2.
|
|
27
|
+
version='2.2.4',
|
|
28
28
|
description='Deep Learning for humans',
|
|
29
29
|
long_description=long_description,
|
|
30
30
|
author='Francois Chollet',
|
|
31
31
|
author_email='francois.chollet@gmail.com',
|
|
32
32
|
url='https://github.com/keras-team/keras',
|
|
33
|
-
download_url='https://github.com/keras-team/keras/tarball/2.2.
|
|
33
|
+
download_url='https://github.com/keras-team/keras/tarball/2.2.4',
|
|
34
34
|
license='MIT',
|
|
35
35
|
install_requires=['numpy>=1.9.1',
|
|
36
36
|
'scipy>=0.14',
|
|
@@ -37,21 +37,6 @@ except ImportError:
|
|
|
37
37
|
WITH_NP = [KTH if K.backend() == 'theano' else KC if K.backend() == 'cntk' else KTF, KNP]
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
# CNTK only supports dilated convolution on GPU
|
|
41
|
-
def get_dilated_conv_backends():
|
|
42
|
-
backend_list = []
|
|
43
|
-
if KTF is not None:
|
|
44
|
-
backend_list.append(KTF)
|
|
45
|
-
if KTH is not None:
|
|
46
|
-
backend_list.append(KTH)
|
|
47
|
-
if KC is not None and KC.dev.type() == 1:
|
|
48
|
-
backend_list.append(KC)
|
|
49
|
-
return backend_list
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
DILATED_CONV_BACKENDS = get_dilated_conv_backends()
|
|
53
|
-
|
|
54
|
-
|
|
55
40
|
def check_dtype(var, dtype):
|
|
56
41
|
if K._BACKEND == 'theano':
|
|
57
42
|
assert var.dtype == dtype
|
|
@@ -1076,6 +1061,20 @@ class TestBackend(object):
|
|
|
1076
1061
|
padding=padding, data_format=data_format,
|
|
1077
1062
|
cntk_dynamicity=True)
|
|
1078
1063
|
|
|
1064
|
+
@pytest.mark.parametrize(
|
|
1065
|
+
'op,input_shape,kernel_shape,output_shape,padding,data_format', [
|
|
1066
|
+
('conv2d_transpose', (2, 5, 6, 3), (3, 3, 2, 3), (2, 5, 6, 2),
|
|
1067
|
+
'same', 'channels_last'),
|
|
1068
|
+
('conv2d_transpose', (2, 3, 8, 9), (3, 3, 2, 3), (2, 2, 8, 9),
|
|
1069
|
+
'same', 'channels_first'),
|
|
1070
|
+
])
|
|
1071
|
+
def test_conv_transpose(self, op, input_shape, kernel_shape, output_shape,
|
|
1072
|
+
padding, data_format):
|
|
1073
|
+
check_two_tensor_operation(
|
|
1074
|
+
op, input_shape, kernel_shape, WITH_NP,
|
|
1075
|
+
output_shape=output_shape, padding=padding, data_format=data_format,
|
|
1076
|
+
cntk_dynamicity=True)
|
|
1077
|
+
|
|
1079
1078
|
@pytest.mark.skipif((K.backend() == 'cntk' and K.dev.type() == 0),
|
|
1080
1079
|
reason='cntk only supports dilated conv on GPU')
|
|
1081
1080
|
@pytest.mark.parametrize('op,input_shape,kernel_shape,padding,data_format,dilation_rate', [
|
|
@@ -1102,10 +1101,10 @@ class TestBackend(object):
|
|
|
1102
1101
|
('conv2d_transpose', (2, 3, 8, 9), (3, 3, 2, 3), (2, 2, 8, 9),
|
|
1103
1102
|
'same', 'channels_first', (2, 2)),
|
|
1104
1103
|
])
|
|
1105
|
-
def
|
|
1106
|
-
|
|
1104
|
+
def test_dilated_conv_transpose(self, op, input_shape, kernel_shape, output_shape,
|
|
1105
|
+
padding, data_format, dilation_rate):
|
|
1107
1106
|
check_two_tensor_operation(
|
|
1108
|
-
op, input_shape, kernel_shape,
|
|
1107
|
+
op, input_shape, kernel_shape, WITH_NP, output_shape=output_shape,
|
|
1109
1108
|
padding=padding, data_format=data_format, dilation_rate=dilation_rate,
|
|
1110
1109
|
cntk_dynamicity=True)
|
|
1111
1110
|
|
|
@@ -87,12 +87,32 @@ def separable_conv(x, w1, w2, padding, data_format):
|
|
|
87
87
|
return conv(x2, w2, padding=padding, data_format=data_format)
|
|
88
88
|
|
|
89
89
|
|
|
90
|
+
def conv_transpose(x, w, output_shape, padding, data_format, dilation_rate=1):
|
|
91
|
+
if x.ndim == 4:
|
|
92
|
+
w = np.fliplr(np.flipud(w))
|
|
93
|
+
w = np.transpose(w, (0, 1, 3, 2))
|
|
94
|
+
else:
|
|
95
|
+
w = np.flip(np.fliplr(np.flipud(w)), axis=2)
|
|
96
|
+
w = np.transpose(w, (0, 1, 2, 4, 3))
|
|
97
|
+
|
|
98
|
+
if isinstance(dilation_rate, int):
|
|
99
|
+
dilation_rate = (dilation_rate,) * (x.ndim - 2)
|
|
100
|
+
for (i, d) in enumerate(dilation_rate):
|
|
101
|
+
if d > 1:
|
|
102
|
+
for j in range(w.shape[i] - 1):
|
|
103
|
+
w = np.insert(w, 2 * j + 1, 0, axis=i)
|
|
104
|
+
|
|
105
|
+
return conv(x, w, padding=padding, data_format=data_format)
|
|
106
|
+
|
|
107
|
+
|
|
90
108
|
conv1d = conv
|
|
91
109
|
conv2d = conv
|
|
92
110
|
conv3d = conv
|
|
93
111
|
depthwise_conv2d = depthwise_conv
|
|
94
112
|
separable_conv1d = separable_conv
|
|
95
113
|
separable_conv2d = separable_conv
|
|
114
|
+
conv2d_transpose = conv_transpose
|
|
115
|
+
conv3d_transpose = conv_transpose
|
|
96
116
|
|
|
97
117
|
|
|
98
118
|
def pool(x, pool_size, strides, padding, data_format, pool_mode):
|
|
@@ -468,6 +468,19 @@ def test_model_methods():
|
|
|
468
468
|
assert trained_batches == list(range(12)) * 5
|
|
469
469
|
assert len(val_seq.logs) == 12 * 5
|
|
470
470
|
|
|
471
|
+
# test for workers = 0
|
|
472
|
+
trained_epochs = []
|
|
473
|
+
trained_batches = []
|
|
474
|
+
val_seq = RandomSequence(4)
|
|
475
|
+
out = model.fit_generator(generator=RandomSequence(3),
|
|
476
|
+
epochs=5,
|
|
477
|
+
validation_data=val_seq,
|
|
478
|
+
callbacks=[tracker_cb],
|
|
479
|
+
workers=0)
|
|
480
|
+
assert trained_epochs == [0, 1, 2, 3, 4]
|
|
481
|
+
assert trained_batches == list(range(12)) * 5
|
|
482
|
+
assert len(val_seq.logs) == 12 * 5
|
|
483
|
+
|
|
471
484
|
# fit_generator will throw an exception
|
|
472
485
|
# if steps is unspecified for regular generator
|
|
473
486
|
with pytest.raises(ValueError):
|
|
@@ -632,6 +632,29 @@ def test_saving_recurrent_layer_without_bias():
|
|
|
632
632
|
os.remove(fname)
|
|
633
633
|
|
|
634
634
|
|
|
635
|
+
def test_loop_model_saving():
|
|
636
|
+
model = Sequential()
|
|
637
|
+
model.add(Dense(2, input_shape=(3,)))
|
|
638
|
+
model.compile(loss=losses.MSE,
|
|
639
|
+
optimizer=optimizers.RMSprop(lr=0.0001),
|
|
640
|
+
metrics=[metrics.categorical_accuracy])
|
|
641
|
+
|
|
642
|
+
x = np.random.random((1, 3))
|
|
643
|
+
y = np.random.random((1, 2))
|
|
644
|
+
_, fname = tempfile.mkstemp('.h5')
|
|
645
|
+
|
|
646
|
+
for _ in range(3):
|
|
647
|
+
model.train_on_batch(x, y)
|
|
648
|
+
save_model(model, fname, overwrite=True)
|
|
649
|
+
out = model.predict(x)
|
|
650
|
+
|
|
651
|
+
new_model = load_model(fname)
|
|
652
|
+
os.remove(fname)
|
|
653
|
+
|
|
654
|
+
out2 = new_model.predict(x)
|
|
655
|
+
assert_allclose(out, out2, atol=1e-05)
|
|
656
|
+
|
|
657
|
+
|
|
635
658
|
def test_saving_constant_initializer_with_numpy():
|
|
636
659
|
"""Test saving and loading model of constant initializer with numpy inputs.
|
|
637
660
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|