Remove unnecessary __init__ files.
PiperOrigin-RevId: 260967386
This commit is contained in:
parent
68edd47a23
commit
49002f2e95
tensorflow/python/estimator
@ -6,7 +6,6 @@ package(
|
|||||||
py_library(
|
py_library(
|
||||||
name = "estimator_py",
|
name = "estimator_py",
|
||||||
srcs = [
|
srcs = [
|
||||||
"__init__.py",
|
|
||||||
"estimator_lib.py",
|
"estimator_lib.py",
|
||||||
],
|
],
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
@ -383,7 +382,6 @@ py_library(
|
|||||||
py_library(
|
py_library(
|
||||||
name = "inputs_queues",
|
name = "inputs_queues",
|
||||||
srcs = [
|
srcs = [
|
||||||
"inputs/queues/__init__.py",
|
|
||||||
"inputs/queues/feeding_functions.py",
|
"inputs/queues/feeding_functions.py",
|
||||||
"inputs/queues/feeding_queue_runner.py",
|
"inputs/queues/feeding_queue_runner.py",
|
||||||
],
|
],
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 2018 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.
|
|
||||||
# ==============================================================================
|
|
||||||
"""estimator python module.
|
|
||||||
|
|
||||||
Importing from tensorflow.python.estimator is unsupported
|
|
||||||
and will soon break!
|
|
||||||
"""
|
|
||||||
# pylint: disable=unused-import,g-bad-import-order,g-import-not-at-top,wildcard-import
|
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import division
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
from tensorflow_estimator.python import estimator
|
|
||||||
|
|
||||||
# Include attrs that start with single underscore.
|
|
||||||
_HAS_DYNAMIC_ATTRIBUTES = True
|
|
||||||
estimator.__all__ = [s for s in dir(estimator) if not s.startswith('__')]
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator import *
|
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 2018 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.
|
|
||||||
# ==============================================================================
|
|
||||||
"""canned python module.
|
|
||||||
|
|
||||||
Importing from tensorflow.python.estimator is unsupported
|
|
||||||
and will soon break!
|
|
||||||
"""
|
|
||||||
# pylint: disable=unused-import,g-bad-import-order,g-import-not-at-top,wildcard-import
|
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import division
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator import canned
|
|
||||||
|
|
||||||
# Include attrs that start with single underscore.
|
|
||||||
_HAS_DYNAMIC_ATTRIBUTES = True
|
|
||||||
canned.__all__ = [s for s in dir(canned) if not s.startswith('__')]
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator.canned import *
|
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 2018 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.
|
|
||||||
# ==============================================================================
|
|
||||||
"""export python module.
|
|
||||||
|
|
||||||
Importing from tensorflow.python.estimator is unsupported
|
|
||||||
and will soon break!
|
|
||||||
"""
|
|
||||||
# pylint: disable=unused-import,g-bad-import-order,g-import-not-at-top,wildcard-import
|
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import division
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator import export
|
|
||||||
|
|
||||||
# Include attrs that start with single underscore.
|
|
||||||
_HAS_DYNAMIC_ATTRIBUTES = True
|
|
||||||
export.__all__ = [s for s in dir(export) if not s.startswith('__')]
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator.export import *
|
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 2018 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.
|
|
||||||
# ==============================================================================
|
|
||||||
"""inputs python module.
|
|
||||||
|
|
||||||
Importing from tensorflow.python.estimator is unsupported
|
|
||||||
and will soon break!
|
|
||||||
"""
|
|
||||||
# pylint: disable=unused-import,g-bad-import-order,g-import-not-at-top,wildcard-import
|
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import division
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator import inputs
|
|
||||||
|
|
||||||
# Include attrs that start with single underscore.
|
|
||||||
_HAS_DYNAMIC_ATTRIBUTES = True
|
|
||||||
inputs.__all__ = [s for s in dir(inputs) if not s.startswith('__')]
|
|
||||||
|
|
||||||
from tensorflow_estimator.python.estimator.inputs import *
|
|
Loading…
Reference in New Issue
Block a user