code: def _expand_tfrecords_pattern(tfr_pattern):
      """Helper function to expand a tfrecord patter."""
  
      def format_shards(m):
          return "{}-?????-of-{:0>5}{}".format(*m.groups())
  
      tfr_pattern = re.sub(
          r"^([^@]+)@(\d+)([^@]+)$", format_shards, tfr_pattern
      )
      return tfr_pattern
  
file_path: graphics/tensorflow_graphics/projects/neural_voxel_renderer/prepare_tfrecords/generate_tfrecords_nvr_plus.py
imports: import os
  import re
  from absl import app
  from absl import flags
  import numpy
  import tensorflow
  from tensorflow_graphics.projects.neural_voxel_renderer import helpers
  from tensorflow_graphics.projects.neural_voxel_renderer.prepare_tfrecords import data_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _expand_tfrecords_pattern(tfr_pattern) and returns: tfr_pattern, str