Usually we have one datset and we perform train and test split, but now i already have two datasets i.e train data set and test data set. How do i pass them to the model!?
I'm going to assume that you're using keras for this and have already made your model.
Since you've already split your datasets, you can just go ahead and train your model on the training sets like this:
model.fit(x_train, y_train, batch_size = 64, epochs = 10)
Then once you want to use your training set, just run:
model.evaluate(x_test, y_test, batch_size = 128)
If you aren't using keras then let me know and we can work from there.