class_docstr: DatasetBuilder for RLDS datasets which proxies data files from GCS.
  
  RLDS datasets are already converted to TFDS format. This
  builder just effectively downloads them from GCS.
class_docstr_tok: ["DatasetBuilder","for","RLDS","datasets","which","proxies","data","files","from","GCS",".","RLDS","datasets","are","already","converted","to","TFDS","format",".","This","builder","just","effectively","downloads","them","from","GCS","."]
code: def _generate_examples(
      self,
      builder: dataset_builder.DatasetBuilder,
      split_info: splits_lib.SplitInfo,
  ):
      beam = tfds.core.lazy_imports.apache_beam
      split = split_info.name
      read_config = read_config_lib.ReadConfig(add_tfds_id=True)
  
      decode_fn = builder.info.features["steps"].feature.decode_example
  
      def converter_fn(example):
          # Decode the RLDS Episode and transform it to numpy.
          example_out = dict(example)
          example_out["steps"] = tf.data.Dataset.from_tensor_slices(
              example_out["steps"]
          ).map(decode_fn)
          steps = list(iter(example_out["steps"].take(-1)))
          example_out["steps"] = steps
  
          example_out = dataset_utils.as_numpy(example_out)
  
          example_id = example_out["tfds_id"].decode("utf-8")
          del example_out["tfds_id"]
          for key in self.KEYS_TO_STRIP:
              if key in example_out:
                  del example_out[key]
  
          yield example_id, example_out
  
      return f"read_tfds_dataset@{split}" >> beam_utils.ReadFromTFDS(
          builder=builder,
          split=split,
          read_config=read_config,
          workers_per_shard=1,
          decoders={"steps": tfds.decode.SkipDecoding()},
      ) | f"convert_to_numpy@{split}" >> beam.FlatMap(converter_fn)
  
imports: from __future__ import annotations
  import abc
  import os
  from typing import Any
  from tensorflow_datasets.core import beam_utils
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_utils
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core.utils import read_config
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 8 for calling the DatasetImporterBuilder obj's underlying member method code with example usage: obj._generate_examples(builder, split_info) and returns: unknown