Remove unneeded symbols from python layers.

The input_spec should be exported via tf_export already in keras.

PiperOrigin-RevId: 302504252
Change-Id: I73aa4cc9d8adadb23b1f5aa455ddfd1008e2080e
This commit is contained in:
Scott Zhu 2020-03-23 13:26:12 -07:00 committed by TensorFlower Gardener
parent e7bbb42480
commit 28c22acb3a
2 changed files with 0 additions and 2 deletions
tensorflow/python

View File

@ -7105,7 +7105,6 @@ py_library(
srcs_version = "PY2AND3",
deps = [
":layers_base",
"//tensorflow/python/keras/engine:input_spec",
"//tensorflow/python/keras/legacy_tf_layers:convolutional",
"//tensorflow/python/keras/legacy_tf_layers:core",
"//tensorflow/python/keras/legacy_tf_layers:normalization",

View File

@ -24,7 +24,6 @@ from __future__ import print_function
# Base objects.
from tensorflow.python.layers.base import Layer
from tensorflow.python.keras.engine.input_spec import InputSpec
# Core layers.
from tensorflow.python.layers.core import Dense