Skip to content

Commit

Permalink
Merge pull request tensorflow#10048 from av8ramit/cherrypicks
Browse files Browse the repository at this point in the history
Seal learn_runner.
  • Loading branch information
Amit Patankar authored May 19, 2017
2 parents cd0302d + ccbefa1 commit c462db4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/contrib/learn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
from tensorflow.contrib.learn.python.learn import *
# pylint: enable=wildcard-import

from tensorflow.contrib.learn.python.learn import learn_runner
from tensorflow.contrib.learn.python.learn import learn_runner_lib as learn_runner

from tensorflow.python.util.all_util import remove_undocumented

Expand Down
30 changes: 30 additions & 0 deletions tensorflow/contrib/learn/python/learn/learn_runner_lib.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Utilities to run and tune an Experiment.
@@run
@@tune
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

from tensorflow.contrib.learn.python.learn.learn_runner import * # pylint: disable=wildcard-import

from tensorflow.python.util.all_util import remove_undocumented

_allowed_symbols = []

remove_undocumented(__name__, _allowed_symbols)

0 comments on commit c462db4

Please sign in to comment.