code: def test_value_error_when_optimizeing_wrong_elements_transforms_list():
      trfs = [
          slt.Rotate(angle_range=(90, 90), p=1),
          slt.Rotate(angle_range=(-90, -90), p=1),
          lambda x: x**2,
      ]
  
      with pytest.raises(TypeError):
          slc.Stream.optimize_transforms_stack(trfs)
  
imports: import itertools
  import random
  import cv2
  import numpy
  import pytest
  import torch
  import solt.core
  import solt.transforms
  import solt.utils
  from .fixtures import *
label_desc: Use image node_id 27 for calling a global function with example usage: test_value_error_when_optimizeing_wrong_elements_transforms_list() without return types