code: def dataset_range_0_99_5(request, tmpdir_factory):
      def _dataset_generator():
          path = tmpdir_factory.mktemp("data").strpath
          url = "file://" + path
          ids = range(0, 99, 5)
          data = create_test_dataset(url, ids)
          return SyntheticDataset(url=url, path=path, data=data)
  
      return maybe_cached_dataset(
          request.config, "dataset_range_0_99_5", _dataset_generator
      )
  
imports: from decimal import Decimal
  import numpy
  import pytest
  import tensorflow.compat.v1
  from unittest import mock
  from petastorm import make_reader
  from petastorm.ngram import NGram
  from petastorm.tests.conftest import SyntheticDataset, maybe_cached_dataset
  from petastorm.tests.test_common import create_test_dataset, TestSchema
  from petastorm.tests.test_tf_utils import create_tf_graph
  from petastorm.tf_utils import tf_tensors
label_desc: Use image node_id 3 for calling a global function with example usage: dataset_range_0_99_5(request, tmpdir_factory) and returns: maybe_cached_dataset, SyntheticDataset