Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
tensorflow
提交
ea847376
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,发现更多精彩内容 >>
提交
ea847376
编写于
12月 08, 2016
作者:
A
A. Unique TensorFlower
提交者:
TensorFlower Gardener
12月 08, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update generated Python Op docs.
Change: 141462624
上级
9154abbe
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
38 addition
and
14 deletion
+38
-14
tensorflow/g3doc/api_docs/python/contrib.layers.md
tensorflow/g3doc/api_docs/python/contrib.layers.md
+1
-1
tensorflow/g3doc/api_docs/python/contrib.learn.md
tensorflow/g3doc/api_docs/python/contrib.learn.md
+6
-1
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.image.decode_jpeg.md
...thon/functions_and_classes/shard0/tf.image.decode_jpeg.md
+8
-1
tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.layers.flatten.md
...functions_and_classes/shard1/tf.contrib.layers.flatten.md
+1
-1
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.learn.Estimator.md
...unctions_and_classes/shard3/tf.contrib.learn.Estimator.md
+6
-1
tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.parse_example.md
...s/python/functions_and_classes/shard6/tf.parse_example.md
+4
-4
tensorflow/g3doc/api_docs/python/image.md
tensorflow/g3doc/api_docs/python/image.md
+8
-1
tensorflow/g3doc/api_docs/python/io_ops.md
tensorflow/g3doc/api_docs/python/io_ops.md
+4
-4
未找到文件。
tensorflow/g3doc/api_docs/python/contrib.layers.md
浏览文件 @
ea847376
...
...
@@ -332,7 +332,7 @@ Flattens the input while maintaining the batch_size.
##### Raises:
*
<b>
`ValueError`
</b>
: if inputs.shape is wrong.
*
<b>
`ValueError`
</b>
: if inputs.
dense_
shape is wrong.
- - -
...
...
tensorflow/g3doc/api_docs/python/contrib.learn.md
浏览文件 @
ea847376
...
...
@@ -347,9 +347,12 @@ Constructs an `Estimator` instance.
`labels=None`
.
*
`mode`
specifies if this training, evaluation or
prediction. See
`ModeKeys`
.
*
`params`
is a
`dict`
of hyperparameters. Will receive what
*
`params`
is a
`dict`
of hyperparameters.
Will receive what
is passed to Estimator in
`params`
parameter. This allows
to configure Estimators from hyper parameter tuning.
*
`config`
is a Configuration object. Will receive what is passed to
Estimator in
`config`
parameter. This allows updating things in
your model_fn based on configuration such as num_ps_replicas.
* Returns:
`ModelFnOps`
...
...
@@ -367,6 +370,8 @@ Constructs an `Estimator` instance.
* `(features, labels) -> (predictions, loss, train_op)`
* `(features, labels, mode) -> (predictions, loss, train_op)`
* `(features, labels, mode, params) -> (predictions, loss, train_op)`
* `(features, labels, mode, params, config) ->
(predictions, loss, train_op)`
*
<b>
`model_dir`
</b>
: Directory to save model parameters, graph and etc. This can
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.image.decode_jpeg.md
浏览文件 @
ea847376
### `tf.image.decode_jpeg(contents, channels=None, ratio=None, fancy_upscaling=None, try_recover_truncated=None, acceptable_fraction=None, name=None)` {#decode_jpeg}
### `tf.image.decode_jpeg(contents, channels=None, ratio=None, fancy_upscaling=None, try_recover_truncated=None, acceptable_fraction=None,
dct_method=None,
name=None)` {#decode_jpeg}
Decode a JPEG-encoded image to a uint8 tensor.
...
...
@@ -33,6 +33,13 @@ downscaling the image later.
*
<b>
`acceptable_fraction`
</b>
: An optional
`float`
. Defaults to
`1`
.
The minimum required fraction of lines before a truncated
input is accepted.
*
<b>
`dct_method`
</b>
: An optional
`string`
. Defaults to
`""`
.
string specifying a hint about the algorithm used for
decompression. Defaults to "" which maps to a system-specific
default. Currently valid values are ["INTEGER_FAST",
"INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal
jpeg library changes to a version that does not have that specific
option.)
*
<b>
`name`
</b>
: A name for the operation (optional).
##### Returns:
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.layers.flatten.md
浏览文件 @
ea847376
...
...
@@ -18,5 +18,5 @@ Flattens the input while maintaining the batch_size.
##### Raises:
*
<b>
`ValueError`
</b>
: if inputs.shape is wrong.
*
<b>
`ValueError`
</b>
: if inputs.
dense_
shape is wrong.
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.learn.Estimator.md
浏览文件 @
ea847376
...
...
@@ -19,9 +19,12 @@ Constructs an `Estimator` instance.
`labels=None`
.
*
`mode`
specifies if this training, evaluation or
prediction. See
`ModeKeys`
.
*
`params`
is a
`dict`
of hyperparameters. Will receive what
*
`params`
is a
`dict`
of hyperparameters.
Will receive what
is passed to Estimator in
`params`
parameter. This allows
to configure Estimators from hyper parameter tuning.
*
`config`
is a Configuration object. Will receive what is passed to
Estimator in
`config`
parameter. This allows updating things in
your model_fn based on configuration such as num_ps_replicas.
* Returns:
`ModelFnOps`
...
...
@@ -39,6 +42,8 @@ Constructs an `Estimator` instance.
* `(features, labels) -> (predictions, loss, train_op)`
* `(features, labels, mode) -> (predictions, loss, train_op)`
* `(features, labels, mode, params) -> (predictions, loss, train_op)`
* `(features, labels, mode, params, config) ->
(predictions, loss, train_op)`
*
<b>
`model_dir`
</b>
: Directory to save model parameters, graph and etc. This can
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.parse_example.md
浏览文件 @
ea847376
...
...
@@ -93,15 +93,15 @@ Then the output is a dictionary:
"kw"
:
SparseTensor
(
indices
=
[[
0
,
0
],
[
0
,
1
],
[
1
,
0
]],
values
=
[
"knit"
,
"big"
,
"emmy"
]
shape
=
[
2
,
2
]),
dense_
shape
=
[
2
,
2
]),
"dank"
:
SparseTensor
(
indices
=
[[
1
,
0
]],
values
=
[
42
],
shape
=
[
2
,
1
]),
dense_
shape
=
[
2
,
1
]),
"gps"
:
SparseTensor
(
indices
=
[],
values
=
[],
shape
=
[
2
,
0
]),
dense_
shape
=
[
2
,
0
]),
}
```
...
...
@@ -170,7 +170,7 @@ Then the output is a dictionary:
"sparse"
:
SparseTensor
(
indices
=
[[
0
,
3
],
[
0
,
20
],
[
1
,
42
]],
values
=
[
0.5
,
-
1.0
,
0.0
]
shape
=
[
2
,
100
]),
dense_
shape
=
[
2
,
100
]),
}
```
...
...
tensorflow/g3doc/api_docs/python/image.md
浏览文件 @
ea847376
...
...
@@ -47,7 +47,7 @@ convert $src.gif -coalesce $dst.gif
- - -
### `tf.image.decode_jpeg(contents, channels=None, ratio=None, fancy_upscaling=None, try_recover_truncated=None, acceptable_fraction=None, name=None)` {#decode_jpeg}
### `tf.image.decode_jpeg(contents, channels=None, ratio=None, fancy_upscaling=None, try_recover_truncated=None, acceptable_fraction=None,
dct_method=None,
name=None)` {#decode_jpeg}
Decode a JPEG-encoded image to a uint8 tensor.
...
...
@@ -82,6 +82,13 @@ downscaling the image later.
*
<b>
`acceptable_fraction`
</b>
: An optional
`float`
. Defaults to
`1`
.
The minimum required fraction of lines before a truncated
input is accepted.
*
<b>
`dct_method`
</b>
: An optional
`string`
. Defaults to
`""`
.
string specifying a hint about the algorithm used for
decompression. Defaults to "" which maps to a system-specific
default. Currently valid values are ["INTEGER_FAST",
"INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal
jpeg library changes to a version that does not have that specific
option.)
*
<b>
`name`
</b>
: A name for the operation (optional).
##### Returns:
...
...
tensorflow/g3doc/api_docs/python/io_ops.md
浏览文件 @
ea847376
...
...
@@ -1636,15 +1636,15 @@ Then the output is a dictionary:
"kw"
:
SparseTensor
(
indices
=
[[
0
,
0
],
[
0
,
1
],
[
1
,
0
]],
values
=
[
"knit"
,
"big"
,
"emmy"
]
shape
=
[
2
,
2
]),
dense_
shape
=
[
2
,
2
]),
"dank"
:
SparseTensor
(
indices
=
[[
1
,
0
]],
values
=
[
42
],
shape
=
[
2
,
1
]),
dense_
shape
=
[
2
,
1
]),
"gps"
:
SparseTensor
(
indices
=
[],
values
=
[],
shape
=
[
2
,
0
]),
dense_
shape
=
[
2
,
0
]),
}
```
...
...
@@ -1713,7 +1713,7 @@ Then the output is a dictionary:
"sparse"
:
SparseTensor
(
indices
=
[[
0
,
3
],
[
0
,
20
],
[
1
,
42
]],
values
=
[
0.5
,
-
1.0
,
0.0
]
shape
=
[
2
,
100
]),
dense_
shape
=
[
2
,
100
]),
}
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录