You need to pass here input tensor(s) for your model in torch format
torch.jit.trace(model,(torch.tensor,))
If your model has multiple inputs they must passed in order that is defined by your model, for example:
torch.jit.trace(model,(torch.tensor1, torch.tensor2, torch.tensorN))
Please refer for mans for more details TorchScript β PyTorch 2.0 documentation