PR : Fixed contrib warning, removing duplicate 'WARNING'

Imported from GitHub PR 

Remove duplicate "WARNING" from the contrib warning message.

Copybara import of the project:

  - 3b29cb320eeeafa64b19cb5fae07f29fb5ed3d04 Fixed contrib warning, removing duplicate 'WARNING' by Joshua Chia <joshchia@gmail.com>
  - e736b33cc011fd5a481bafb1173b247cd8aa0c9a Merge 3b29cb320eeeafa64b19cb5fae07f29fb5ed3d04 into b5039... by Joshua Chia <joshchia@gmail.com>

PiperOrigin-RevId: 248540705
This commit is contained in:
A. Unique TensorFlower 2019-05-16 09:22:31 -07:00 committed by TensorFlower Gardener
parent b50396b804
commit 6fdce78040

View File

@ -59,7 +59,7 @@ except ImportError:
from tensorflow.python.util.lazy_loader import LazyLoader # pylint: disable=g-import-not-at-top
_CONTRIB_WARNING = """
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
* https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
* https://github.com/tensorflow/addons