TF Internal API: tf_export __internal__.CompositeTensor symbol.
PiperOrigin-RevId: 333813269 Change-Id: Ifbac79f0479d0d084190445929dcc501d30851d9
This commit is contained in:
parent
90123281d1
commit
2a594cda1b
@ -25,8 +25,10 @@ import six
|
|||||||
from tensorflow.python import _pywrap_utils
|
from tensorflow.python import _pywrap_utils
|
||||||
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
|
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
|
||||||
from tensorflow.python.util import nest
|
from tensorflow.python.util import nest
|
||||||
|
from tensorflow.python.util.tf_export import tf_export
|
||||||
|
|
||||||
|
|
||||||
|
@tf_export("__internal__.CompositeTensor", v1=[])
|
||||||
@six.add_metaclass(abc.ABCMeta)
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
class CompositeTensor(object):
|
class CompositeTensor(object):
|
||||||
"""Abstract base class for Tensor-like objects that are composed from Tensors.
|
"""Abstract base class for Tensor-like objects that are composed from Tensors.
|
||||||
|
@ -55,6 +55,7 @@ from tensorflow.python.util.tf_export import tf_export
|
|||||||
|
|
||||||
# _internal APIs
|
# _internal APIs
|
||||||
from tensorflow.python.framework.combinations import *
|
from tensorflow.python.framework.combinations import *
|
||||||
|
from tensorflow.python.framework.composite_tensor import *
|
||||||
from tensorflow.python.framework.test_combinations import *
|
from tensorflow.python.framework.test_combinations import *
|
||||||
from tensorflow.python.util.tf_decorator import make_decorator
|
from tensorflow.python.util.tf_decorator import make_decorator
|
||||||
from tensorflow.python.util.tf_decorator import unwrap
|
from tensorflow.python.util.tf_decorator import unwrap
|
||||||
|
@ -2,10 +2,8 @@
|
|||||||
# Scripts used to generate TensorFlow Python API.
|
# Scripts used to generate TensorFlow Python API.
|
||||||
|
|
||||||
load("//tensorflow:tensorflow.bzl", "py_test")
|
load("//tensorflow:tensorflow.bzl", "py_test")
|
||||||
load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "TENSORFLOW_API_INIT_FILES")
|
load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "KERAS_API_INIT_FILES", "TENSORFLOW_API_INIT_FILES")
|
||||||
load("//tensorflow/python/tools/api/generator:api_init_files_v1.bzl", "TENSORFLOW_API_INIT_FILES_V1")
|
load("//tensorflow/python/tools/api/generator:api_init_files_v1.bzl", "KERAS_API_INIT_FILES_V1", "TENSORFLOW_API_INIT_FILES_V1")
|
||||||
load("//tensorflow/python/tools/api/generator:api_init_files.bzl", "KERAS_API_INIT_FILES")
|
|
||||||
load("//tensorflow/python/tools/api/generator:api_init_files_v1.bzl", "KERAS_API_INIT_FILES_V1")
|
|
||||||
|
|
||||||
package(
|
package(
|
||||||
licenses = ["notice"], # Apache 2.0
|
licenses = ["notice"], # Apache 2.0
|
||||||
@ -85,6 +83,7 @@ py_test(
|
|||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//tensorflow/python:client_testlib",
|
"//tensorflow/python:client_testlib",
|
||||||
|
"//tensorflow/python:composite_tensor",
|
||||||
"//tensorflow/python:framework_combinations",
|
"//tensorflow/python:framework_combinations",
|
||||||
"//tensorflow/python:modules_with_exports",
|
"//tensorflow/python:modules_with_exports",
|
||||||
"//tensorflow/python:no_contrib",
|
"//tensorflow/python:no_contrib",
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
path: "tensorflow.__internal__.CompositeTensor"
|
||||||
|
tf_class {
|
||||||
|
is_instance: "<class \'tensorflow.python.framework.composite_tensor.CompositeTensor\'>"
|
||||||
|
is_instance: "<type \'object\'>"
|
||||||
|
member_method {
|
||||||
|
name: "__init__"
|
||||||
|
}
|
||||||
|
}
|
@ -1,5 +1,9 @@
|
|||||||
path: "tensorflow.__internal__"
|
path: "tensorflow.__internal__"
|
||||||
tf_module {
|
tf_module {
|
||||||
|
member {
|
||||||
|
name: "CompositeTensor"
|
||||||
|
mtype: "<type \'type\'>"
|
||||||
|
}
|
||||||
member {
|
member {
|
||||||
name: "decorator"
|
name: "decorator"
|
||||||
mtype: "<type \'module\'>"
|
mtype: "<type \'module\'>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user