Пример #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)
Пример #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)
Пример #3
0
 def test_end_to_end_mlperf(self):
     ncf_main.main(None)
Пример #4
0
 def test_end_to_end(self):
     ncf_main.main(None)
Пример #5
0
 def test_end_to_end_mlperf(self):
   ncf_main.main(None)
Пример #6
0
 def test_end_to_end(self):
   ncf_main.main(None)
Пример #7
0
 def test_end_to_end_no_estimator(self):
     ncf_main.main(None)
     flags.FLAGS.ml_perf = True
     ncf_main.main(None)
Пример #8
0
 def test_end_to_end_no_estimator(self):
   ncf_main.main(None)
   flags.FLAGS.ml_perf = True
   ncf_main.main(None)
Пример #9
0
 def test_end_to_end_while_loop(self):
     ncf_main.main(None)
     flags.FLAGS.ml_perf = True
     ncf_main.main(None)