Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
tensorflow
提交
2bf23fcf
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,发现更多精彩内容 >>
提交
2bf23fcf
编写于
12月 08, 2016
作者:
A
A. Unique TensorFlower
提交者:
TensorFlower Gardener
12月 08, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update generated Python Op docs.
Change: 141494901
上级
b79d37b1
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
44 addition
and
92 deletion
+44
-92
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.SparseTensorValue.md
...thon/functions_and_classes/shard0/tf.SparseTensorValue.md
+11
-20
tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.SparseTensorValue.__new__.md
...ctions_and_classes/shard2/tf.SparseTensorValue.__new__.md
+4
-0
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md
...cs/python/functions_and_classes/shard3/tf.SparseTensor.md
+9
-26
tensorflow/g3doc/api_docs/python/sparse_ops.md
tensorflow/g3doc/api_docs/python/sparse_ops.md
+20
-46
未找到文件。
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.SparseTensorValue.md
浏览文件 @
2bf23fcf
Stores the calculated numpy arrays representing a
`SparseTensor`
.
Returned as the output of a session.run on a
`SparseTensor`
object.
SparseTensorValue(indices, values, dense_shape)
- - -
#### `tf.SparseTensorValue.__getitem__(i)` {#SparseTensorValue.__getitem__}
#### `tf.SparseTensorValue.__getnewargs__()` {#SparseTensorValue.__getnewargs__}
Return self as a plain tuple. Used by copy and pickle.
- - -
#### `tf.SparseTensorValue.__init__(indices, values, dense_shape=None, shape=None)` {#SparseTensorValue.__init__}
#### `tf.SparseTensorValue.__getstate__()` {#SparseTensorValue.__getstate__}
Exclude the OrderedDict from pickling
- - -
#### `tf.SparseTensorValue.__iter__()` {#SparseTensorValue.__iter__}
#### `tf.SparseTensorValue.__new__(_cls, indices, values, dense_shape)` {#SparseTensorValue.__new__}
Create new instance of SparseTensorValue(indices, values, dense_shape)
- - -
#### `tf.SparseTensorValue.__repr__()` {#SparseTensorValue.__repr__}
Return a nicely formatted representation string
- - -
#### `tf.SparseTensorValue.dense_shape` {#SparseTensorValue.dense_shape}
Alias for field number 2
- - -
#### `tf.SparseTensorValue.indices` {#SparseTensorValue.indices}
- - -
#### `tf.SparseTensorValue.shape` {#SparseTensorValue.shape}
Alias for field number 0
- - -
#### `tf.SparseTensorValue.values` {#SparseTensorValue.values}
Alias for field number 1
tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.SparseTensorValue.__new__.md
0 → 100644
浏览文件 @
2bf23fcf
#### `tf.SparseTensorValue.__new__(_cls, indices, values, dense_shape)` {#SparseTensorValue.__new__}
Create new instance of SparseTensorValue(indices, values, dense_shape)
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md
浏览文件 @
2bf23fcf
...
...
@@ -23,14 +23,11 @@ of values and number of dimensions in the `SparseTensor`, respectively:
[2,4] of the tensor has a value of 3.6.
*
`dense_shape`
: A 1-D int64 tensor of dense_shape
`[ndims]`
, which specifies
the
dense_shape of the sparse tensor. Takes a list indicating the number of
elements
in each dimension. For example,
`dense_shape=[3,6]`
specifies a
two-dimensional
3x6 tensor,
`dense_shape=[2,3,4]`
specifies a three-dimensional 2x3x4
tensor, and
`dense_shape=[9]`
specifies a one-dimensional tensor with 9 elements.
the dense_shape of the sparse tensor. Takes a list indicating the number of
elements in each dimension. For example,
`dense_shape=[3,6]`
specifies a
two-dimensional 3x6 tensor,
`dense_shape=[2,3,4]`
specifies a
three-dimensional 2x3x4 tensor, and
`dense_shape=[9]`
specifies a
one-dimensional tensor with 9 elements.
The corresponding dense tensor satisfies:
...
...
@@ -61,28 +58,21 @@ represents the dense tensor
- - -
#### `tf.SparseTensor.__init__(indices, values, dense_shape
=None, shape=None
)` {#SparseTensor.__init__}
#### `tf.SparseTensor.__init__(indices, values, dense_shape)` {#SparseTensor.__init__}
Creates a
`SparseTensor`
.
##### Args:
*
<b>
`indices`
</b>
: A 2-D int64 tensor of dense_shape
`[N, ndims]`
.
*
<b>
`values`
</b>
: A 1-D tensor of any type and dense_shape
`[N]`
.
*
<b>
`dense_shape`
</b>
: A 1-D int64 tensor of dense_shape
`[ndims]`
.
*
<b>
`shape`
</b>
: Temporary. Legacy naming of dense_shape. Only one of
`shape`
or
`dense_shape`
must be provided.
*
<b>
`indices`
</b>
: A 2-D int64 tensor of shape
`[N, ndims]`
.
*
<b>
`values`
</b>
: A 1-D tensor of any type and shape
`[N]`
.
*
<b>
`dense_shape`
</b>
: A 1-D int64 tensor of shape
`[ndims]`
.
##### Returns:
A
`SparseTensor`
.
##### Raises:
*
<b>
`ValueError`
</b>
: if both
`shape`
and
`dense_shape`
are provided.
- - -
...
...
@@ -259,10 +249,3 @@ available, or `session` must be specified explicitly.
- - -
#### `tf.SparseTensor.shape` {#SparseTensor.shape}
Legacy property returning
`dense_shape`
.
tensorflow/g3doc/api_docs/python/sparse_ops.md
浏览文件 @
2bf23fcf
...
...
@@ -43,14 +43,11 @@ of values and number of dimensions in the `SparseTensor`, respectively:
[2,4] of the tensor has a value of 3.6.
*
`dense_shape`
: A 1-D int64 tensor of dense_shape
`[ndims]`
, which specifies
the
dense_shape of the sparse tensor. Takes a list indicating the number of
elements
in each dimension. For example,
`dense_shape=[3,6]`
specifies a
two-dimensional
3x6 tensor,
`dense_shape=[2,3,4]`
specifies a three-dimensional 2x3x4
tensor, and
`dense_shape=[9]`
specifies a one-dimensional tensor with 9 elements.
the dense_shape of the sparse tensor. Takes a list indicating the number of
elements in each dimension. For example,
`dense_shape=[3,6]`
specifies a
two-dimensional 3x6 tensor,
`dense_shape=[2,3,4]`
specifies a
three-dimensional 2x3x4 tensor, and
`dense_shape=[9]`
specifies a
one-dimensional tensor with 9 elements.
The corresponding dense tensor satisfies:
...
...
@@ -81,28 +78,21 @@ represents the dense tensor
- - -
#### `tf.SparseTensor.__init__(indices, values, dense_shape
=None, shape=None
)` {#SparseTensor.__init__}
#### `tf.SparseTensor.__init__(indices, values, dense_shape)` {#SparseTensor.__init__}
Creates a
`SparseTensor`
.
##### Args:
*
<b>
`indices`
</b>
: A 2-D int64 tensor of dense_shape
`[N, ndims]`
.
*
<b>
`values`
</b>
: A 1-D tensor of any type and dense_shape
`[N]`
.
*
<b>
`dense_shape`
</b>
: A 1-D int64 tensor of dense_shape
`[ndims]`
.
*
<b>
`shape`
</b>
: Temporary. Legacy naming of dense_shape. Only one of
`shape`
or
`dense_shape`
must be provided.
*
<b>
`indices`
</b>
: A 2-D int64 tensor of shape
`[N, ndims]`
.
*
<b>
`values`
</b>
: A 1-D tensor of any type and shape
`[N]`
.
*
<b>
`dense_shape`
</b>
: A 1-D int64 tensor of shape
`[ndims]`
.
##### Returns:
A
`SparseTensor`
.
##### Raises:
*
<b>
`ValueError`
</b>
: if both
`shape`
and
`dense_shape`
are provided.
- - -
...
...
@@ -279,75 +269,59 @@ available, or `session` must be specified explicitly.
- - -
#### `tf.SparseTensor.shape` {#SparseTensor.shape}
Legacy property returning
`dense_shape`
.
- - -
### `class tf.SparseTensorValue` {#SparseTensorValue}
Stores the calculated numpy arrays representing a
`SparseTensor`
.
Returned as the output of a session.run on a
`SparseTensor`
object.
SparseTensorValue(indices, values, dense_shape)
- - -
#### `tf.SparseTensorValue.__getitem__(i)` {#SparseTensorValue.__getitem__}
#### `tf.SparseTensorValue.__getnewargs__()` {#SparseTensorValue.__getnewargs__}
Return self as a plain tuple. Used by copy and pickle.
- - -
#### `tf.SparseTensorValue.__init__(indices, values, dense_shape=None, shape=None)` {#SparseTensorValue.__init__}
#### `tf.SparseTensorValue.__getstate__()` {#SparseTensorValue.__getstate__}
Exclude the OrderedDict from pickling
- - -
#### `tf.SparseTensorValue.__iter__()` {#SparseTensorValue.__iter__}
#### `tf.SparseTensorValue.__new__(_cls, indices, values, dense_shape)` {#SparseTensorValue.__new__}
Create new instance of SparseTensorValue(indices, values, dense_shape)
- - -
#### `tf.SparseTensorValue.__repr__()` {#SparseTensorValue.__repr__}
Return a nicely formatted representation string
- - -
#### `tf.SparseTensorValue.dense_shape` {#SparseTensorValue.dense_shape}
Alias for field number 2
- - -
#### `tf.SparseTensorValue.indices` {#SparseTensorValue.indices}
- - -
#### `tf.SparseTensorValue.shape` {#SparseTensorValue.shape}
Alias for field number 0
- - -
#### `tf.SparseTensorValue.values` {#SparseTensorValue.values}
Alias for field number 1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录