Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
码匠许师傅
Tensorflow
提交
d56074d1
T
Tensorflow
项目概览
码匠许师傅
/
Tensorflow
通知
3
Star
0
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,发现更多精彩内容 >>
提交
d56074d1
编写于
2月 22, 2019
作者:
S
Scott Zhu
提交者:
TensorFlower Gardener
2月 22, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change the export name for LSTMStateTuple to only export in v1.
PiperOrigin-RevId: 235252398
上级
826027db
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
2 addition
and
32 deletion
+2
-32
tensorflow/python/ops/rnn_cell_impl.py
tensorflow/python/ops/rnn_cell_impl.py
+1
-1
tensorflow/tools/api/golden/v2/tensorflow.nn.rnn_cell.-l-s-t-m-state-tuple.pbtxt
...lden/v2/tensorflow.nn.rnn_cell.-l-s-t-m-state-tuple.pbtxt
+0
-27
tensorflow/tools/api/golden/v2/tensorflow.nn.rnn_cell.pbtxt
tensorflow/tools/api/golden/v2/tensorflow.nn.rnn_cell.pbtxt
+0
-4
tensorflow/tools/compatibility/renames_v2.py
tensorflow/tools/compatibility/renames_v2.py
+1
-0
未找到文件。
tensorflow/python/ops/rnn_cell_impl.py
浏览文件 @
d56074d1
...
...
@@ -606,7 +606,7 @@ class GRUCell(LayerRNNCell):
_LSTMStateTuple
=
collections
.
namedtuple
(
"LSTMStateTuple"
,
(
"c"
,
"h"
))
@
tf_export
(
"nn.rnn_cell.LSTMStateTuple"
)
@
tf_export
(
v1
=
[
"nn.rnn_cell.LSTMStateTuple"
]
)
class
LSTMStateTuple
(
_LSTMStateTuple
):
"""Tuple used by LSTM Cells for `state_size`, `zero_state`, and output state.
...
...
tensorflow/tools/api/golden/v2/tensorflow.nn.rnn_cell.-l-s-t-m-state-tuple.pbtxt
已删除
100644 → 0
浏览文件 @
826027db
path: "tensorflow.nn.rnn_cell.LSTMStateTuple"
tf_class {
is_instance: "<class \'tensorflow.python.ops.rnn_cell_impl.LSTMStateTuple\'>"
is_instance: "<class \'tensorflow.python.ops.rnn_cell_impl.LSTMStateTuple\'>"
is_instance: "<type \'tuple\'>"
member {
name: "c"
mtype: "<type \'property\'>"
}
member {
name: "dtype"
mtype: "<type \'property\'>"
}
member {
name: "h"
mtype: "<type \'property\'>"
}
member_method {
name: "__init__"
}
member_method {
name: "count"
}
member_method {
name: "index"
}
}
tensorflow/tools/api/golden/v2/tensorflow.nn.rnn_cell.pbtxt
浏览文件 @
d56074d1
...
...
@@ -4,10 +4,6 @@ tf_module {
name: "DeviceWrapper"
mtype: "<type \'type\'>"
}
member {
name: "LSTMStateTuple"
mtype: "<type \'type\'>"
}
member {
name: "RNNCell"
mtype: "<type \'type\'>"
...
...
tensorflow/tools/compatibility/renames_v2.py
浏览文件 @
d56074d1
...
...
@@ -447,6 +447,7 @@ renames = {
'tf.nn.rnn_cell.DropoutWrapper'
:
'tf.compat.v1.nn.rnn_cell.DropoutWrapper'
,
'tf.nn.rnn_cell.GRUCell'
:
'tf.compat.v1.nn.rnn_cell.GRUCell'
,
'tf.nn.rnn_cell.LSTMCell'
:
'tf.compat.v1.nn.rnn_cell.LSTMCell'
,
'tf.nn.rnn_cell.LSTMStateTuple'
:
'tf.compat.v1.nn.rnn_cell.LSTMStateTuple'
,
'tf.nn.rnn_cell.MultiRNNCell'
:
'tf.compat.v1.nn.rnn_cell.MultiRNNCell'
,
'tf.nn.rnn_cell.ResidualWrapper'
:
'tf.compat.v1.nn.rnn_cell.ResidualWrapper'
,
'tf.nn.static_bidirectional_rnn'
:
'tf.compat.v1.nn.static_bidirectional_rnn'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录