import torch
import torch.nn as nn
from scripts.torch_ci.common import export_and_save


class LtModel(nn.Module):

  def __init__(self):
    super(LtModel, self).__init__()

  def forward(self, x, y):
    return x < y


model = LtModel()
model.eval()

# Example input
sample_input_x = torch.randn(1, 64)
sample_input_y = torch.randn(1, 64)

# Export to MLIR
export_and_save(model, (sample_input_x, sample_input_y), __file__)
