Exemple #1
0
 def get_pred_input_fn():
     return movielens_dataset.get_input_fn(
         False,
         distribution_utils.per_device_batch_size(FLAGS.batch_size,
                                                  num_gpus), ncf_dataset,
         FLAGS.data_dir, FLAGS.dataset, 1)
Exemple #2
0
 def get_pred_input_fn():
   return movielens_dataset.get_input_fn(
       False,
       distribution_utils.per_device_batch_size(FLAGS.batch_size, num_gpus),
       ncf_dataset, FLAGS.data_dir, FLAGS.dataset, 1)
Exemple #3
0
 def get_train_input_fn():
     return movielens_dataset.get_input_fn(
         True,
         distribution_utils.per_device_batch_size(FLAGS.batch_size,
                                                  num_gpus), ncf_dataset,
         FLAGS.data_dir, FLAGS.dataset, FLAGS.epochs_between_evals)
Exemple #4
0
 def get_train_input_fn():
   return movielens_dataset.get_input_fn(
       True,
       distribution_utils.per_device_batch_size(FLAGS.batch_size, num_gpus),
       ncf_dataset, FLAGS.data_dir, FLAGS.dataset, FLAGS.epochs_between_evals)