code: def _write_tuple_to_shared_memory(
      space, index, values, shared_memory
  ):
      for value, memory, subspace in zip(
          values, shared_memory, space.spaces
      ):
          write_to_shared_memory(subspace, index, value, memory)
  
file_path: gym/gym/vector/utils/shared_memory.py
imports: import multiprocessing
  from collections import OrderedDict
  from ctypes import c_bool
  from functools import singledispatch
  from typing import Union
  import numpy
  from gym.error import CustomSpaceError
  from gym.spaces import Box, Dict, Discrete, MultiBinary, MultiDiscrete, Space, Tuple
label_desc: Use image node_id 11 for calling a global function with example usage: _write_tuple_to_shared_memory(space, index, values, shared_memory) without return types