Thanks for your reply. However, I am talking about another problem.
I want a model that can be seen as a function f(x, y). I give it a first input a, and I want to regard f(a, y) as g(y), a function that only takes y as argument.
And in the training procedure, there may be only 1 x-input but 1000 y-input for each input data item.