code: def write_dataset_config_to_pbtxt(
      dataset_config, dataset_config_filename
  ):
      """Writes the dataset_config to a human-readable text format.
  
      Args:
        dataset_config: DeepVariantDatasetConfig. The config to be written out.
        dataset_config_filename: String. Path to the output pbtxt file.
      """
      with tf.io.gfile.GFile(
          dataset_config_filename, mode="w"
      ) as writer:
          writer.write(text_format.MessageToString(dataset_config))
  
imports: import itertools
  from typing import Callable, Optional, Tuple
  from absl import logging
  import ml_collections
  import tensorflow
  from tensorflow import estimator
  from deepvariant import dv_constants
  from deepvariant import dv_utils
  from deepvariant import keras_modeling
  from deepvariant.protos import deepvariant_pb2
  from google.protobuf import text_format
  from third_party.nucleus.io import sharded_file_utils
label_desc: Use image node_id 7 for calling a global function with example usage: write_dataset_config_to_pbtxt(dataset_config, dataset_config_filename) without return types