import tensorflow as tf

    name: Name for this op. Defaults to 'multitask_logits'.

  Returns:
    A list of logit tensors; one for each classification task.
  """
  logits_list = []
  with tf.name_scope('multitask_logits'):
    for task_idx in range(num_tasks):
      with tf.name_scope(name,
                         ('task' + str(task_idx).zfill(len(str(num_tasks)))),
                         [features]):
        logits_list.append(
