if (FALSE) {
model <- pt_transformer_load("model.pth")
solved <- rep(0:5, each = 16)
pt_forward(model, solved) # 24 values
pt_forward(model, rbind(solved, solved)) # 2 x 24
}
Run the code above in your browser using DataLab