Skip to content
Snippets Groups Projects
Commit e9c6d71b authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Enable the doctests

parent e2deb70d
No related branches found
No related tags found
1 merge request!68Several changes
Pipeline #24657 passed
...@@ -171,7 +171,7 @@ Explicitly triggering the estimator ...@@ -171,7 +171,7 @@ Explicitly triggering the estimator
................................... ...................................
.. doctest:: .. doctest::
+SKIP
>>> estimator = Logits( >>> estimator = Logits(
... architecture, ... architecture,
... optimizer=tf.train.GradientDescentOptimizer(1e-4), ... optimizer=tf.train.GradientDescentOptimizer(1e-4),
...@@ -182,7 +182,7 @@ Explicitly triggering the estimator ...@@ -182,7 +182,7 @@ Explicitly triggering the estimator
... model_dir=model_dir, ... model_dir=model_dir,
... ) ... )
>>> tf.estimator.train_and_evaluate(estimator, train_spec, eval_spec) >>> tf.estimator.train_and_evaluate(estimator, train_spec, eval_spec)
({'accuracy':...
Triggering the estimator via command line Triggering the estimator via command line
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment