Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)