code: def _generate_data():
      """Generate dummy data."""
      for i in range(NUMBER_OF_EXAMPLES):
          fpath = _dummy_file(99, 1, i)
          if not fpath.exists():
              fpath.parent.mkdir(parents=True, exist_ok=True)
          else:
              fpath.unlink()
  
          t_milli = _init_time(13)
          t_nanos = _init_time(14)
          t_event = _init_time(13)
          accel_x = _init_accel()
          accel_y = _init_accel()
          accel_z = _init_accel()
  
          with fpath.open("w") as f:
              f.write(
                  f"{t_milli:013} {t_nanos:014} {t_event:013}"
                  f" {accel_x:.6f} {accel_y:.6f} {accel_z:.6f}\n"
              )
  
              for _ in range(random.randint(11, 51)):
                  t_milli = _inc_time(t_milli, "milli")
                  t_nanos = _inc_time(t_nanos)
                  t_event = _inc_time(t_event)
                  accel_x = _inc_accel(accel_x)
                  accel_y = _inc_accel(accel_y)
                  accel_z = _inc_accel(accel_z)
  
                  f.write(
                      f"{t_milli:013} {t_nanos:014} {t_event:013}"
                      f" {accel_x:.6f} {accel_y:.6f} {accel_z:.6f}\n"
                  )
  
file_path: datasets/tensorflow_datasets/datasets/smartwatch_gestures/dummy_data_generation.py
imports: import random
  from absl import app
  from etils import epath
  import tensorflow_datasets
label_desc: Use image node_id 7 for calling a global function with example usage: _generate_data() without return types