code: def test_lstm_xexception(
      self,
      input_size,
      hidden_size,
      num_layers,
      bias,
      batch_first,
      dropout,
      bidirectional,
      backend,
  ):
      with pytest.raises(ValueError):
          self.test_lstm(
              input_size,
              hidden_size,
              num_layers,
              bias,
              batch_first,
              dropout,
              bidirectional,
              backend=backend,
          )
  
imports: import sys
  from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.testing_reqs import *
  from .testing_utils import *
label_desc: Use image node_id 3 for calling the TestLSTM obj's underlying member method code with example usage: obj.test_lstm_xexception(input_size, hidden_size, num_layers, bias, batch_first, dropout, bidirectional, backend) without return types