Description Usage Arguments See Also
View source: R/train_and_evaluate.R
TrainSpec
determines the input data for the training, as well as the
duration. Optional hooks run at various stages of training.
1 | train_spec(input_fn, max_steps = NULL, hooks = NULL)
|
input_fn |
Training input function returning a tuple of:
|
max_steps |
Positive number of total steps for which to train model.
If |
hooks |
List of session run hooks to run on all workers (including chief) during training. |
Other training methods:
eval_spec()
,
train_and_evaluate.tf_estimator()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.