def METHOD_NAME(self):
    """Bidirectional test of the PyTorch lstm Node on Glow."""
    class BidirectionalLSTM(nn.Module):
        def __init__(self):
            super(BidirectionalLSTM, self).__init__()
            self.rnn = torch.nn.LSTM(8, 10, 1, bidirectional=True)
            self.rnn.training = False
        def forward(self, inputs, h, c):
            return self.rnn(inputs, (h, c))
    inputs = torch.randn(5, 3, 8)
    h = torch.randn(2, 3, 10)
    c = torch.randn(2, 3, 10)
    model = BidirectionalLSTM()
    utils.compare_tracing_methods(
        model, inputs, h, c, fusible_ops={"aten::lstm"}, skip_to_glow=True
    )