class_docstr: Returns a uniform distribution over datasets at every epoch.
  
  Registered as a `MultiTaskEpochSampler` with name "uniform".
class_docstr_tok: ["Returns","a","uniform","distribution","over","datasets","at","every","epoch",".","Registered","as","a","`","MultiTaskEpochSampler","`","with","name","``","uniform","''","."]
code: def get_task_proportions(
      self, data_loaders: Mapping[str, DataLoader]
  ) -> Dict[str, float]:
      return {key: 1 / len(data_loaders) for key in data_loaders}
  
file_path: allennlp/allennlp/data/data_loaders/multitask_epoch_sampler.py
imports: from typing import Any, Dict, Mapping
  from allennlp.common.registrable import Registrable
  from allennlp.data.data_loaders.data_loader import DataLoader
label_desc: Use image node_id 1 for calling the UniformSampler obj's underlying member method code with example usage: obj.get_task_proportions(data_loaders) and returns: unknown