class_docstr: Instruction for how one single shard should be converted.
class_docstr_tok: ["Instruction","for","how","one","single","shard","should","be","converted","."]
code: def convert(self) -> None:
      def read_in() -> Iterator[type_utils.KeySerializedExample]:
          in_dataset = self.in_file_adapter.make_tf_data(
              filename=self.in_path
          )
          for i, row in enumerate(in_dataset):
              yield i, row.numpy()
  
      self.out_file_adapter.write_examples(
          path=self.out_path, iterator=read_in()
      )
  
imports: from collections.abc import Iterator
  import dataclasses
  from typing import Type
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import read_only_builder
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import type_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import apache_beam
label_desc: Use image node_id 1 for calling the ShardInstruction obj's underlying member method code with example usage: obj.convert() without return types