code: def test_layout_transform_convert_layout_pass_args_multiple_invalid(
      relay_conv2d,
      monkeypatch,
      desired,
  ):
      """
      Check invalid cases when passing multiple values to the desired layouts argument.
      """
      desired_layout, desired_layout_ops = desired
  
      mock_convert_layout = MagicMock()
      mock_convert_layout.return_value = relay.transform.ConvertLayout(
          {}
      )
      monkeypatch.setattr(
          relay.transform, "ConvertLayout", mock_convert_layout
      )
  
      with pytest.raises(TVMCException):
          with tvm.transform.PassContext(opt_level=3):
              apply_graph_transforms(
                  relay_conv2d,
                  {
                      "desired_layout": desired_layout,
                      "desired_layout_ops": desired_layout_ops,
                  },
              )
  
file_path: tvm/tests/python/driver/tvmc/test_transform.py
imports: import pytest
  from unittest.mock import MagicMock
  import tvm
  from tvm import relay
  from tvm.relay import testing
  from tvm.relay.expr_functor import ExprMutator
  from tvm.ir.instrument import pass_instrument
  from tvm.driver.tvmc.transform import apply_graph_transforms
  from tvm.driver.tvmc.model import TVMCException
label_desc: Use image node_id 5 for calling a global function with example usage: test_layout_transform_convert_layout_pass_args_multiple_invalid(relay_conv2d, monkeypatch, desired) without return types