Merge remote-tracking branch 'google/r1.6' into merge_branch
authorYifei Feng <yifeif@google.com>
Wed, 7 Mar 2018 22:38:42 +0000 (14:38 -0800)
committerYifei Feng <yifeif@google.com>
Wed, 7 Mar 2018 22:38:42 +0000 (14:38 -0800)
1  2 
tensorflow/contrib/learn/BUILD
tensorflow/docs_src/install/install_c.md
tensorflow/docs_src/install/install_go.md
tensorflow/docs_src/install/install_java.md
tensorflow/docs_src/install/install_linux.md
tensorflow/docs_src/install/install_mac.md
tensorflow/docs_src/install/install_sources.md
tensorflow/docs_src/install/install_windows.md
tensorflow/python/keras/_impl/keras/estimator_test.py
tensorflow/tools/pip_package/setup.py

Simple merge
@@@ -480,8 -481,9 +481,8 @@@ Take the following steps to install Ten
  
       <pre>
       (tensorflow)$ <b>pip install --ignore-installed --upgrade \
-      https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.6.0rc1-cp34-cp34m-linux_x86_64.whl</b></pre>
+      https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.6.0-cp34-cp34m-linux_x86_64.whl</b></pre>
  
 -
  <a name="ValidateYourInstallation"></a>
  ## Validate your installation
  
@@@ -496,22 -377,6 +496,25 @@@ class TestKerasEstimator(test_util.Tens
              keras_model=keras_model,
              model_dir=tempfile.mkdtemp(dir=self._base_dir))
  
++<<<<<<< HEAD
 +  def test_gpu_config(self):
 +    keras_model, (_, _), (_, _), _, _ = get_resource_for_simple_model()
 +    keras_model.compile(
 +        loss='categorical_crossentropy',
 +        optimizer='rmsprop',
 +        metrics=['mse', keras.metrics.categorical_accuracy])
 +
 +    gpu_options = config_pb2.GPUOptions(per_process_gpu_memory_fraction=0.3)
 +    sess_config = config_pb2.ConfigProto(gpu_options=gpu_options)
 +    self._config._session_config = sess_config
 +    keras.estimator.model_to_estimator(
 +        keras_model=keras_model, config=self._config)
 +    self.assertEqual(keras.backend.get_session()
 +                     ._config.gpu_options.per_process_gpu_memory_fraction,
 +                     gpu_options.per_process_gpu_memory_fraction)
 +
++=======
++>>>>>>> google/r1.6
  
  if __name__ == '__main__':
    test.main()
Simple merge