Exemplo n.º 1
0
 def test_end_to_end_while_loop(self):
     # We cannot set use_while_loop = True in the flagsaver constructor, because
     # if the flagsaver sets it to True before setting use_estimator to False,
     # the flag validator will throw an error.
     flags.FLAGS.use_while_loop = True
     ncf_main.main(None)
     flags.FLAGS.ml_perf = True
     ncf_main.main(None)
Exemplo n.º 2
0
 def test_end_to_end_while_loop(self):
   # We cannot set use_while_loop = True in the flagsaver constructor, because
   # if the flagsaver sets it to True before setting use_estimator to False,
   # the flag validator will throw an error.
   flags.FLAGS.use_while_loop = True
   ncf_main.main(None)
   flags.FLAGS.ml_perf = True
   ncf_main.main(None)
Exemplo n.º 3
0
 def test_end_to_end_mlperf(self):
     ncf_main.main(None)
Exemplo n.º 4
0
 def test_end_to_end(self):
     ncf_main.main(None)
Exemplo n.º 5
0
 def test_end_to_end_mlperf(self):
   ncf_main.main(None)
Exemplo n.º 6
0
 def test_end_to_end(self):
   ncf_main.main(None)
Exemplo n.º 7
0
 def test_end_to_end_no_estimator(self):
     ncf_main.main(None)
     flags.FLAGS.ml_perf = True
     ncf_main.main(None)
Exemplo n.º 8
0
 def test_end_to_end_no_estimator(self):
   ncf_main.main(None)
   flags.FLAGS.ml_perf = True
   ncf_main.main(None)
Exemplo n.º 9
0
 def test_end_to_end_while_loop(self):
     ncf_main.main(None)
     flags.FLAGS.ml_perf = True
     ncf_main.main(None)