1# -*- coding: utf-8 -*- 2# Copyright 2015 The TensorFlow Authors. All Rights Reserved. 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# ============================================================================== 16"""Implementation of the Keras API meant to be a high-level API for TensorFlow. 17 18This module an alias for `tf.keras`, for backwards compatibility. 19 20Detailed documentation and user guides are also available at 21[keras.io](https://keras.io). 22""" 23from __future__ import absolute_import 24from __future__ import division 25from __future__ import print_function 26 27# pylint: disable=wildcard-import 28from tensorflow.contrib.keras.api.keras import * 29 30try: 31 from tensorflow.contrib.keras import python # pylint: disable=g-import-not-at-top 32 del python 33except ImportError: 34 pass 35 36del absolute_import 37del division 38del print_function 39