1# pylint: disable=g-import-not-at-top 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"""contrib module containing volatile or experimental code.""" 17 18from __future__ import absolute_import 19from __future__ import division 20from __future__ import print_function 21 22import os 23import platform 24 25# Add projects here, they will show up under tf.contrib. 26from tensorflow.contrib import autograph 27from tensorflow.contrib import batching 28from tensorflow.contrib import bayesflow 29from tensorflow.contrib import checkpoint 30if os.name != "nt" and platform.machine() != "s390x": 31 from tensorflow.contrib import cloud 32from tensorflow.contrib import cluster_resolver 33from tensorflow.contrib import coder 34from tensorflow.contrib import compiler 35from tensorflow.contrib import constrained_optimization 36from tensorflow.contrib import copy_graph 37from tensorflow.contrib import crf 38from tensorflow.contrib import cudnn_rnn 39from tensorflow.contrib import data 40from tensorflow.contrib import deprecated 41from tensorflow.contrib import distribute 42from tensorflow.contrib import distributions 43from tensorflow.contrib import estimator 44from tensorflow.contrib import factorization 45from tensorflow.contrib import feature_column 46from tensorflow.contrib import framework 47from tensorflow.contrib import gan 48from tensorflow.contrib import graph_editor 49from tensorflow.contrib import grid_rnn 50from tensorflow.contrib import image 51from tensorflow.contrib import input_pipeline 52from tensorflow.contrib import integrate 53from tensorflow.contrib import keras 54from tensorflow.contrib import kernel_methods 55from tensorflow.contrib import labeled_tensor 56from tensorflow.contrib import layers 57from tensorflow.contrib import learn 58from tensorflow.contrib import legacy_seq2seq 59from tensorflow.contrib import linear_optimizer 60from tensorflow.contrib import lookup 61from tensorflow.contrib import losses 62from tensorflow.contrib import memory_stats 63from tensorflow.contrib import metrics 64from tensorflow.contrib import mixed_precision 65from tensorflow.contrib import model_pruning 66from tensorflow.contrib import nn 67from tensorflow.contrib import opt 68from tensorflow.contrib import periodic_resample 69from tensorflow.contrib import predictor 70from tensorflow.contrib import proto 71from tensorflow.contrib import quantization 72from tensorflow.contrib import quantize 73from tensorflow.contrib import reduce_slice_ops 74from tensorflow.contrib import resampler 75from tensorflow.contrib import rnn 76from tensorflow.contrib import rpc 77from tensorflow.contrib import saved_model 78from tensorflow.contrib import seq2seq 79from tensorflow.contrib import signal 80from tensorflow.contrib import slim 81from tensorflow.contrib import solvers 82from tensorflow.contrib import sparsemax 83from tensorflow.contrib import staging 84from tensorflow.contrib import stat_summarizer 85from tensorflow.contrib import stateless 86from tensorflow.contrib import tensor_forest 87from tensorflow.contrib import tensorboard 88from tensorflow.contrib import testing 89from tensorflow.contrib import tfprof 90from tensorflow.contrib import timeseries 91from tensorflow.contrib import tpu 92from tensorflow.contrib import training 93from tensorflow.contrib import util 94from tensorflow.contrib.eager.python import tfe as eager 95from tensorflow.contrib.optimizer_v2 import optimizer_v2_symbols as optimizer_v2 96from tensorflow.contrib.receptive_field import receptive_field_api as receptive_field 97from tensorflow.contrib.recurrent.python import recurrent_api as recurrent 98from tensorflow.contrib.remote_fused_graph import pylib as remote_fused_graph 99from tensorflow.contrib.specs import python as specs 100from tensorflow.contrib.summary import summary 101 102from tensorflow.python.util.lazy_loader import LazyLoader 103ffmpeg = LazyLoader("ffmpeg", globals(), 104 "tensorflow.contrib.ffmpeg") 105del os 106del platform 107 108del LazyLoader 109 110del absolute_import 111del division 112del print_function 113