(
    md_source,
    md_version,
    meta_split,
    shuffle_files=True,
    read_config=None,
    data_dir=None,
    version=None,
    **as_dataset_kwargs)
return builder.as_full_ways_dataset(
      md_version=md_version,
      meta_split=meta_split,
      shuffle_files=shuffle_files,
      read_config=read_config,
      **as_dataset_kwargs
  )
Creates a full-ways dataset.

  Here, "full-ways" means that the label space is constructed from all of
  `md_source`'s `meta_split` classes. For instance, calling `full_ways_dataset`
  with `md_source='aircraft'` and `meta_split='valid'` returns a dataset with
  all of Aircraft's validation classes.

  Args:
    md_source: data source from which to construct the full-ways dataset.
    md_version: Meta-Dataset md_version in {'v1', 'v2'}.
    meta_split: meta-split (case-insensitive) in {'train', 'valid', 'test'}.
    shuffle_files: WRITEME.
    read_config: WRITEME.
    data_dir: TFDS data directory.
    version: dataset version at which to load the data. Note that this refers
      to the dataset implementation version, and is **not** the same as
      the benchmark verion (either 'v1' or 'v2').
    **as_dataset_kwargs: kwargs passed to the `as_dataset` method.

  Returns:
    The full-ways dataset.
Creates a full-ways dataset.
Creates a full - ways dataset .
def full_ways_dataset(
    md_source,
    md_version,
    meta_split,
    shuffle_files=True,
    read_config=None,
    data_dir=None,
    version=None,
    **as_dataset_kwargs):
  """Creates a full-ways dataset.

  Here, "full-ways" means that the label space is constructed from all of
  `md_source`'s `meta_split` classes. For instance, calling `full_ways_dataset`
  with `md_source='aircraft'` and `meta_split='valid'` returns a dataset with
  all of Aircraft's validation classes.

  Args:
    md_source: data source from which to construct the full-ways dataset.
    md_version: Meta-Dataset md_version in {'v1', 'v2'}.
    meta_split: meta-split (case-insensitive) in {'train', 'valid', 'test'}.
    shuffle_files: WRITEME.
    read_config: WRITEME.
    data_dir: TFDS data directory.
    version: dataset version at which to load the data. Note that this refers
      to the dataset implementation version, and is **not** the same as
      the benchmark verion (either 'v1' or 'v2').
    **as_dataset_kwargs: kwargs passed to the `as_dataset` method.

  Returns:
    The full-ways dataset.
  """
  builder = meta_dataset_lib.MetaDataset(
      data_dir=data_dir,
      config=md_source,
      version=version
  )
  start, stop = builder.get_start_stop(md_version, meta_split)
  read_config = read_config or tfds.ReadConfig(
      interleave_cycle_length=builder.info.splits[
          f'all_classes[{start}:{stop}]'].num_shards,
      interleave_block_length=4,
      enable_ordering_guard=False
  )
  return builder.as_full_ways_dataset(
      md_version=md_version,
      meta_split=meta_split,
      shuffle_files=shuffle_files,
      read_config=read_config,
      **as_dataset_kwargs
  )
def full_ways_dataset ( md_source , md_version , meta_split , shuffle_files = True , read_config = None , data_dir = None , version = None , * * as_dataset_kwargs ) : builder = meta_dataset_lib . MetaDataset ( data_dir = data_dir , config = md_source , version = version ) start , stop = builder . get_start_stop ( md_version , meta_split ) read_config = read_config or tfds . ReadConfig ( interleave_cycle_length = builder . info . splits [ f'all_classes[{start}:{stop}]' ] . num_shards , interleave_block_length = 4 , enable_ordering_guard = False ) return builder . as_full_ways_dataset ( md_version = md_version , meta_split = meta_split , shuffle_files = shuffle_files , read_config = read_config , * * as_dataset_kwargs )