Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
tensorflow
提交
d1bf811d
T
tensorflow
项目概览
xxadev
/
tensorflow
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tensorflow
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d1bf811d
编写于
7月 11, 2019
作者:
G
Gaurav Jain
提交者:
TensorFlower Gardener
7月 11, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move ObjectIdentity to python/utils
PiperOrigin-RevId: 257637727
上级
47fda4a3
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
7 addition
and
16 deletion
+7
-16
tensorflow/python/keras/engine/base_layer.py
tensorflow/python/keras/engine/base_layer.py
+1
-1
tensorflow/python/keras/layers/recurrent_test.py
tensorflow/python/keras/layers/recurrent_test.py
+1
-1
tensorflow/python/keras/layers/wrappers_test.py
tensorflow/python/keras/layers/wrappers_test.py
+1
-1
tensorflow/python/saved_model/BUILD
tensorflow/python/saved_model/BUILD
+0
-1
tensorflow/python/saved_model/save.py
tensorflow/python/saved_model/save.py
+1
-1
tensorflow/python/training/tracking/BUILD
tensorflow/python/training/tracking/BUILD
+0
-8
tensorflow/python/training/tracking/graph_view.py
tensorflow/python/training/tracking/graph_view.py
+1
-1
tensorflow/python/training/tracking/layer_utils.py
tensorflow/python/training/tracking/layer_utils.py
+1
-1
tensorflow/python/training/tracking/util.py
tensorflow/python/training/tracking/util.py
+1
-1
tensorflow/python/util/object_identity.py
tensorflow/python/util/object_identity.py
+0
-0
未找到文件。
tensorflow/python/keras/engine/base_layer.py
浏览文件 @
d1bf811d
...
...
@@ -67,11 +67,11 @@ from tensorflow.python.ops import variables as tf_variables
from
tensorflow.python.training.tracking
import
base
as
trackable
from
tensorflow.python.training.tracking
import
data_structures
from
tensorflow.python.training.tracking
import
layer_utils
as
trackable_layer_utils
from
tensorflow.python.training.tracking
import
object_identity
from
tensorflow.python.training.tracking
import
tracking
from
tensorflow.python.util
import
compat
from
tensorflow.python.util
import
deprecation
from
tensorflow.python.util
import
nest
from
tensorflow.python.util
import
object_identity
from
tensorflow.python.util
import
serialization
from
tensorflow.python.util
import
tf_decorator
from
tensorflow.python.util
import
tf_inspect
...
...
tensorflow/python/keras/layers/recurrent_test.py
浏览文件 @
d1bf811d
...
...
@@ -46,9 +46,9 @@ from tensorflow.python.ops import special_math_ops
from
tensorflow.python.ops
import
state_ops
from
tensorflow.python.ops
import
variables
as
variables_lib
from
tensorflow.python.platform
import
test
from
tensorflow.python.training.tracking
import
object_identity
from
tensorflow.python.training.tracking
import
util
as
trackable_util
from
tensorflow.python.util
import
nest
from
tensorflow.python.util
import
object_identity
# Used for nested input/output/state RNN test.
NestedInput
=
collections
.
namedtuple
(
'NestedInput'
,
[
't1'
,
't2'
])
...
...
tensorflow/python/keras/layers/wrappers_test.py
浏览文件 @
d1bf811d
...
...
@@ -32,8 +32,8 @@ from tensorflow.python.keras.engine import base_layer_utils
from
tensorflow.python.keras.layers.rnn_cell_wrapper_v2
import
ResidualWrapper
from
tensorflow.python.ops.array_ops
import
concat
from
tensorflow.python.platform
import
test
from
tensorflow.python.training.tracking
import
object_identity
from
tensorflow.python.training.tracking
import
util
as
trackable_util
from
tensorflow.python.util
import
object_identity
class
_RNNCellWithConstants
(
keras
.
layers
.
Layer
):
...
...
tensorflow/python/saved_model/BUILD
浏览文件 @
d1bf811d
...
...
@@ -311,7 +311,6 @@ py_library(
"//tensorflow/python/training/tracking"
,
"//tensorflow/python/training/tracking:base"
,
"//tensorflow/python/training/tracking:graph_view"
,
"//tensorflow/python/training/tracking:object_identity"
,
"//tensorflow/python/training/tracking:util"
,
],
)
...
...
tensorflow/python/saved_model/save.py
浏览文件 @
d1bf811d
...
...
@@ -51,10 +51,10 @@ from tensorflow.python.saved_model import utils_impl
from
tensorflow.python.training.saving
import
functional_saver
from
tensorflow.python.training.tracking
import
base
from
tensorflow.python.training.tracking
import
graph_view
from
tensorflow.python.training.tracking
import
object_identity
from
tensorflow.python.training.tracking
import
tracking
from
tensorflow.python.training.tracking
import
util
from
tensorflow.python.util
import
compat
from
tensorflow.python.util
import
object_identity
from
tensorflow.python.util.tf_export
import
tf_export
_UNCOPIABLE_DTYPES
=
frozenset
((
dtypes
.
resource
,
dtypes
.
variant
))
...
...
tensorflow/python/training/tracking/BUILD
浏览文件 @
d1bf811d
...
...
@@ -103,19 +103,12 @@ tf_py_test(
],
)
py_library
(
name
=
"object_identity"
,
srcs
=
[
"object_identity.py"
],
srcs_version
=
"PY2AND3"
,
)
py_library
(
name
=
"graph_view"
,
srcs
=
[
"graph_view.py"
],
srcs_version
=
"PY2AND3"
,
deps
=
[
":base"
,
":object_identity"
,
":tracking"
,
"//tensorflow/core:protos_all_py"
,
"//tensorflow/python:constant_op"
,
...
...
@@ -134,7 +127,6 @@ py_library(
":base"
,
":data_structures"
,
":graph_view"
,
":object_identity"
,
":tracking"
,
"//tensorflow/core:protos_all_py"
,
"//tensorflow/python:array_ops"
,
...
...
tensorflow/python/training/tracking/graph_view.py
浏览文件 @
d1bf811d
...
...
@@ -28,8 +28,8 @@ from tensorflow.python.training import optimizer as optimizer_v1
from
tensorflow.python.training.saving
import
saveable_object
as
saveable_object_lib
from
tensorflow.python.training.saving
import
saveable_object_util
from
tensorflow.python.training.tracking
import
base
from
tensorflow.python.training.tracking
import
object_identity
from
tensorflow.python.training.tracking
import
tracking
from
tensorflow.python.util
import
object_identity
_ESCAPE_CHAR
=
"."
# For avoiding conflicts with user-specified names.
...
...
tensorflow/python/training/tracking/layer_utils.py
浏览文件 @
d1bf811d
...
...
@@ -21,7 +21,7 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
print_function
from
tensorflow.python.
training.tracking
import
object_identity
from
tensorflow.python.
util
import
object_identity
def
is_layer
(
obj
):
...
...
tensorflow/python/training/tracking/util.py
浏览文件 @
d1bf811d
...
...
@@ -49,11 +49,11 @@ from tensorflow.python.training.saving import saveable_object_util
from
tensorflow.python.training.tracking
import
base
from
tensorflow.python.training.tracking
import
data_structures
from
tensorflow.python.training.tracking
import
graph_view
as
graph_view_lib
from
tensorflow.python.training.tracking
import
object_identity
from
tensorflow.python.training.tracking
import
tracking
from
tensorflow.python.util
import
compat
from
tensorflow.python.util
import
deprecation
from
tensorflow.python.util
import
lazy_loader
from
tensorflow.python.util
import
object_identity
from
tensorflow.python.util
import
tf_contextlib
from
tensorflow.python.util.tf_export
import
tf_export
...
...
tensorflow/python/
training/tracking
/object_identity.py
→
tensorflow/python/
util
/object_identity.py
浏览文件 @
d1bf811d
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录