Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_38905368
tensorflow
提交
06ff95d5
T
tensorflow
项目概览
qq_38905368
/
tensorflow
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
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,发现更多精彩内容 >>
提交
06ff95d5
编写于
6月 23, 2016
作者:
A
A. Unique TensorFlower
提交者:
TensorFlower Gardener
6月 23, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update generated Python Op docs.
Change: 125724750
上级
81fd8c27
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
96 addition
and
62 deletion
+96
-62
tensorflow/g3doc/api_docs/python/contrib.learn.md
tensorflow/g3doc/api_docs/python/contrib.learn.md
+48
-31
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.learn.LinearRegressor.md
...ns_and_classes/shard0/tf.contrib.learn.LinearRegressor.md
+7
-5
tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.learn.LinearClassifier.md
...s_and_classes/shard1/tf.contrib.learn.LinearClassifier.md
+7
-5
tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.learn.train.md
...on/functions_and_classes/shard1/tf.contrib.learn.train.md
+6
-1
tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.learn.BaseEstimator.md
...ions_and_classes/shard2/tf.contrib.learn.BaseEstimator.md
+7
-5
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.learn.Estimator.md
...unctions_and_classes/shard3/tf.contrib.learn.Estimator.md
+7
-5
tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.learn.DNNClassifier.md
...ions_and_classes/shard4/tf.contrib.learn.DNNClassifier.md
+7
-5
tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.learn.DNNRegressor.md
...tions_and_classes/shard9/tf.contrib.learn.DNNRegressor.md
+7
-5
未找到文件。
tensorflow/g3doc/api_docs/python/contrib.learn.md
浏览文件 @
06ff95d5
...
...
@@ -82,7 +82,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `tf.contrib.learn.BaseEstimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)` {#BaseEstimator.fit}
#### `tf.contrib.learn.BaseEstimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)` {#BaseEstimator.fit}
Trains a model given training data
`x`
predictions and
`y`
targets.
...
...
@@ -103,6 +103,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of
`x`
. Must be
`None`
if
`input_fn`
is provided.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls to
`fit(steps=100)`
means 200 training
iterations. On the other hand, two calls to
`fit(max_steps=100)`
means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -112,12 +117,9 @@ Trains a model given training data `x` predictions and `y` targets.
*
<b>
`ValueError`
</b>
: If
`x`
or
`y`
are not
`None`
while
`input_fn`
is not
`None`
.
##### Raises:
*
<b>
`ValueError`
</b>
: If at least one of
`x`
and
`y`
is provided, and
`input_fn`
is
provided.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
- - -
...
...
@@ -358,7 +360,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `tf.contrib.learn.Estimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)` {#Estimator.fit}
#### `tf.contrib.learn.Estimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)` {#Estimator.fit}
Trains a model given training data
`x`
predictions and
`y`
targets.
...
...
@@ -379,6 +381,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of
`x`
. Must be
`None`
if
`input_fn`
is provided.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls to
`fit(steps=100)`
means 200 training
iterations. On the other hand, two calls to
`fit(max_steps=100)`
means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -388,12 +395,9 @@ Trains a model given training data `x` predictions and `y` targets.
*
<b>
`ValueError`
</b>
: If
`x`
or
`y`
are not
`None`
while
`input_fn`
is not
`None`
.
##### Raises:
*
<b>
`ValueError`
</b>
: If at least one of
`x`
and
`y`
is provided, and
`input_fn`
is
provided.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
- - -
...
...
@@ -976,7 +980,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `
tf.contrib.learn.DNNClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)
` {#DNNClassifier.fit}
#### `
tf.contrib.learn.DNNClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)
` {#DNNClassifier.fit}
Trains a model given training data `
x
` predictions and `
y
` targets.
...
...
@@ -997,6 +1001,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of `
x
`. Must be `
None
` if `
input_fn
` is provided.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls to `
fit(steps=100)
` means 200 training
iterations. On the other hand, two calls to `
fit(max_steps=100)
` means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -1006,12 +1015,9 @@ Trains a model given training data `x` predictions and `y` targets.
* <b>`
ValueError
`</b>: If `
x
` or `
y
` are not `
None
` while `
input_fn
` is not `
None
`.
##### Raises:
* <b>`
ValueError
`</b>: If at least one of `
x
` and `
y
` is provided, and `
input_fn
` is
provided.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
- - -
...
...
@@ -1356,7 +1362,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `tf.contrib.learn.DNNRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)` {#DNNRegressor.fit}
#### `tf.contrib.learn.DNNRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)` {#DNNRegressor.fit}
Trains a model given training data
`x`
predictions and
`y`
targets.
...
...
@@ -1377,6 +1383,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of
`x`
. Must be
`None`
if
`input_fn`
is provided.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls to
`fit(steps=100)`
means 200 training
iterations. On the other hand, two calls to
`fit(max_steps=100)`
means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -1386,12 +1397,9 @@ Trains a model given training data `x` predictions and `y` targets.
*
<b>
`ValueError`
</b>
: If
`x`
or
`y`
are not
`None`
while
`input_fn`
is not
`None`
.
##### Raises:
*
<b>
`ValueError`
</b>
: If at least one of
`x`
and
`y`
is provided, and
`input_fn`
is
provided.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
- - -
...
...
@@ -2525,7 +2533,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `
tf.contrib.learn.LinearClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)
` {#LinearClassifier.fit}
#### `
tf.contrib.learn.LinearClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)
` {#LinearClassifier.fit}
Trains a model given training data `
x
` predictions and `
y
` targets.
...
...
@@ -2546,6 +2554,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of `
x
`. Must be `
None
` if `
input_fn
` is provided.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls to `
fit(steps=100)
` means 200 training
iterations. On the other hand, two calls to `
fit(max_steps=100)
` means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -2555,12 +2568,9 @@ Trains a model given training data `x` predictions and `y` targets.
* <b>`
ValueError
`</b>: If `
x
` or `
y
` are not `
None
` while `
input_fn
` is not `
None
`.
##### Raises:
* <b>`
ValueError
`</b>: If at least one of `
x
` and `
y
` is provided, and `
input_fn
` is
provided.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
- - -
...
...
@@ -2887,7 +2897,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `
tf.contrib.learn.LinearRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)
` {#LinearRegressor.fit}
#### `
tf.contrib.learn.LinearRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)
` {#LinearRegressor.fit}
Trains a model given training data `
x
` predictions and `
y
` targets.
...
...
@@ -2908,6 +2918,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of `
x
`. Must be `
None
` if `
input_fn
` is provided.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls to `
fit(steps=100)
` means 200 training
iterations. On the other hand, two calls to `
fit(max_steps=100)
` means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -2917,12 +2932,9 @@ Trains a model given training data `x` predictions and `y` targets.
* <b>`
ValueError
`</b>: If `
x
` or `
y
` are not `
None
` while `
input_fn
` is not `
None
`.
##### Raises:
* <b>`
ValueError
`</b>: If at least one of `
x
` and `
y
` is provided, and `
input_fn
` is
provided.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
- - -
...
...
@@ -4674,7 +4686,7 @@ Run `output_dict` tensors `n` times, with the same `feed_dict` each run.
- - -
### `
tf.contrib.learn.train(graph, output_dir, train_op, loss_op, global_step_tensor=None, init_op=None, init_feed_dict=None, init_fn=None, log_every_steps=10, supervisor_is_chief=True, supervisor_master='', supervisor_save_model_secs=600, keep_checkpoint_max=5, supervisor_save_summaries_steps=100, feed_fn=None, steps=None, fail_on_nan_loss=True, monitors=None)
` {#train}
### `
tf.contrib.learn.train(graph, output_dir, train_op, loss_op, global_step_tensor=None, init_op=None, init_feed_dict=None, init_fn=None, log_every_steps=10, supervisor_is_chief=True, supervisor_master='', supervisor_save_model_secs=600, keep_checkpoint_max=5, supervisor_save_summaries_steps=100, feed_fn=None, steps=None, fail_on_nan_loss=True, monitors=None
, max_steps=None
)
` {#train}
Train a model.
...
...
@@ -4726,6 +4738,10 @@ program is terminated with exit code 1.
evaluates to `
NaN
`. If false, continue training as if nothing happened.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls fit(steps=100) means 200 training iterations.
On the other hand two calls of fit(max_steps=100) means, second call
will not do any iteration since first call did all 100 steps.
##### Returns:
...
...
@@ -4739,6 +4755,7 @@ program is terminated with exit code 1.
look up the latter if not provided explicitly.
* <b>`
NanLossDuringTrainingError
`</b>: If `
fail_on_nan_loss
` is `
True
`, and loss ever
evaluates to `
NaN
`.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.contrib.learn.LinearRegressor.md
浏览文件 @
06ff95d5
...
...
@@ -138,7 +138,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `tf.contrib.learn.LinearRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)` {#LinearRegressor.fit}
#### `tf.contrib.learn.LinearRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)` {#LinearRegressor.fit}
Trains a model given training data
`x`
predictions and
`y`
targets.
...
...
@@ -159,6 +159,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of
`x`
. Must be
`None`
if
`input_fn`
is provided.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls to
`fit(steps=100)`
means 200 training
iterations. On the other hand, two calls to
`fit(max_steps=100)`
means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -168,12 +173,9 @@ Trains a model given training data `x` predictions and `y` targets.
*
<b>
`ValueError`
</b>
: If
`x`
or
`y`
are not
`None`
while
`input_fn`
is not
`None`
.
##### Raises:
*
<b>
`ValueError`
</b>
: If at least one of
`x`
and
`y`
is provided, and
`input_fn`
is
provided.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
- - -
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.learn.LinearClassifier.md
浏览文件 @
06ff95d5
...
...
@@ -157,7 +157,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `
tf.contrib.learn.LinearClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)
` {#LinearClassifier.fit}
#### `
tf.contrib.learn.LinearClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)
` {#LinearClassifier.fit}
Trains a model given training data `
x
` predictions and `
y
` targets.
...
...
@@ -178,6 +178,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of `
x
`. Must be `
None
` if `
input_fn
` is provided.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls to `
fit(steps=100)
` means 200 training
iterations. On the other hand, two calls to `
fit(max_steps=100)
` means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -187,12 +192,9 @@ Trains a model given training data `x` predictions and `y` targets.
* <b>`
ValueError
`</b>: If `
x
` or `
y
` are not `
None
` while `
input_fn
` is not `
None
`.
##### Raises:
* <b>`
ValueError
`</b>: If at least one of `
x
` and `
y
` is provided, and `
input_fn
` is
provided.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
- - -
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.learn.train.md
浏览文件 @
06ff95d5
### `tf.contrib.learn.train(graph, output_dir, train_op, loss_op, global_step_tensor=None, init_op=None, init_feed_dict=None, init_fn=None, log_every_steps=10, supervisor_is_chief=True, supervisor_master='', supervisor_save_model_secs=600, keep_checkpoint_max=5, supervisor_save_summaries_steps=100, feed_fn=None, steps=None, fail_on_nan_loss=True, monitors=None)` {#train}
### `tf.contrib.learn.train(graph, output_dir, train_op, loss_op, global_step_tensor=None, init_op=None, init_feed_dict=None, init_fn=None, log_every_steps=10, supervisor_is_chief=True, supervisor_master='', supervisor_save_model_secs=600, keep_checkpoint_max=5, supervisor_save_summaries_steps=100, feed_fn=None, steps=None, fail_on_nan_loss=True, monitors=None
, max_steps=None
)` {#train}
Train a model.
...
...
@@ -50,6 +50,10 @@ program is terminated with exit code 1.
evaluates to
`NaN`
. If false, continue training as if nothing happened.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls fit(steps=100) means 200 training iterations.
On the other hand two calls of fit(max_steps=100) means, second call
will not do any iteration since first call did all 100 steps.
##### Returns:
...
...
@@ -63,4 +67,5 @@ program is terminated with exit code 1.
look up the latter if not provided explicitly.
*
<b>
`NanLossDuringTrainingError`
</b>
: If
`fail_on_nan_loss`
is
`True`
, and loss ever
evaluates to
`NaN`
.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.learn.BaseEstimator.md
浏览文件 @
06ff95d5
...
...
@@ -67,7 +67,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `tf.contrib.learn.BaseEstimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)` {#BaseEstimator.fit}
#### `tf.contrib.learn.BaseEstimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)` {#BaseEstimator.fit}
Trains a model given training data
`x`
predictions and
`y`
targets.
...
...
@@ -88,6 +88,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of
`x`
. Must be
`None`
if
`input_fn`
is provided.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls to
`fit(steps=100)`
means 200 training
iterations. On the other hand, two calls to
`fit(max_steps=100)`
means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -97,12 +102,9 @@ Trains a model given training data `x` predictions and `y` targets.
*
<b>
`ValueError`
</b>
: If
`x`
or
`y`
are not
`None`
while
`input_fn`
is not
`None`
.
##### Raises:
*
<b>
`ValueError`
</b>
: If at least one of
`x`
and
`y`
is provided, and
`input_fn`
is
provided.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
- - -
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.contrib.learn.Estimator.md
浏览文件 @
06ff95d5
...
...
@@ -84,7 +84,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `tf.contrib.learn.Estimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)` {#Estimator.fit}
#### `tf.contrib.learn.Estimator.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)` {#Estimator.fit}
Trains a model given training data
`x`
predictions and
`y`
targets.
...
...
@@ -105,6 +105,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of
`x`
. Must be
`None`
if
`input_fn`
is provided.
*
<b>
`monitors`
</b>
: List of
`BaseMonitor`
subclass instances. Used for callbacks
inside the training loop.
*
<b>
`max_steps`
</b>
: Number of total steps for which to train model. If
`None`
,
train forever. Two calls to
`fit(steps=100)`
means 200 training
iterations. On the other hand, two calls to
`fit(max_steps=100)`
means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -114,12 +119,9 @@ Trains a model given training data `x` predictions and `y` targets.
*
<b>
`ValueError`
</b>
: If
`x`
or
`y`
are not
`None`
while
`input_fn`
is not
`None`
.
##### Raises:
*
<b>
`ValueError`
</b>
: If at least one of
`x`
and
`y`
is provided, and
`input_fn`
is
provided.
*
<b>
`ValueError`
</b>
: If both
`steps`
and
`max_steps`
are not
`None`
.
- - -
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.learn.DNNClassifier.md
浏览文件 @
06ff95d5
...
...
@@ -158,7 +158,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `
tf.contrib.learn.DNNClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)
` {#DNNClassifier.fit}
#### `
tf.contrib.learn.DNNClassifier.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)
` {#DNNClassifier.fit}
Trains a model given training data `
x
` predictions and `
y
` targets.
...
...
@@ -179,6 +179,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of `
x
`. Must be `
None
` if `
input_fn
` is provided.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls to `
fit(steps=100)
` means 200 training
iterations. On the other hand, two calls to `
fit(max_steps=100)
` means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -188,12 +193,9 @@ Trains a model given training data `x` predictions and `y` targets.
* <b>`
ValueError
`</b>: If `
x
` or `
y
` are not `
None
` while `
input_fn
` is not `
None
`.
##### Raises:
* <b>`
ValueError
`</b>: If at least one of `
x
` and `
y
` is provided, and `
input_fn
` is
provided.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
- - -
...
...
tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.learn.DNNRegressor.md
浏览文件 @
06ff95d5
...
...
@@ -156,7 +156,7 @@ Evaluates given model with provided evaluation data.
- - -
#### `
tf.contrib.learn.DNNRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None)
` {#DNNRegressor.fit}
#### `
tf.contrib.learn.DNNRegressor.fit(x=None, y=None, input_fn=None, steps=None, batch_size=None, monitors=None
, max_steps=None
)
` {#DNNRegressor.fit}
Trains a model given training data `
x
` predictions and `
y
` targets.
...
...
@@ -177,6 +177,11 @@ Trains a model given training data `x` predictions and `y` targets.
dimension of `
x
`. Must be `
None
` if `
input_fn
` is provided.
* <b>`
monitors
`</b>: List of `
BaseMonitor
` subclass instances. Used for callbacks
inside the training loop.
* <b>`
max_steps
`</b>: Number of total steps for which to train model. If `
None
`,
train forever. Two calls to `
fit(steps=100)
` means 200 training
iterations. On the other hand, two calls to `
fit(max_steps=100)
` means
that the second call will not do any iteration since first call did
all 100 steps.
##### Returns:
...
...
@@ -186,12 +191,9 @@ Trains a model given training data `x` predictions and `y` targets.
* <b>`
ValueError
`</b>: If `
x
` or `
y
` are not `
None
` while `
input_fn
` is not `
None
`.
##### Raises:
* <b>`
ValueError
`</b>: If at least one of `
x
` and `
y
` is provided, and `
input_fn
` is
provided.
* <b>`
ValueError
`</b>: If both `
steps
` and `
max_steps
` are not `
None
`.
- - -
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录