title: Give two inputs to torch::jit::script::Module forward method
body: <p>I am trying to build and train a network in python using pytorch . My forward method takes two inputs as follows :</p>
  <pre><code>def forward(self, x1, x2):
  </code></pre>
  <p>I trained this model in python and saved using <code>torch.jit.script</code> .
  Then I load this model in c++ using the <code>torch::jit::load</code>.
  How do I now pass the inputs to the model in c++ ?</p>
  <p>If I try passing two separate tensors to the forward method like the following</p>
  <pre><code>    std::vector&lt;torch::jit::IValue&gt; inputs1{tensor1};
      std::vector&lt;torch::jit::IValue&gt; inputs2{tensor2};
      at::Tensor output = module.forward(inputs1,inputs2).toTensor();
  </code></pre>
  <p>then I receive an error saying that the method forward expects 1 argument, 2 provided.</p>
  <p>I can't also concatenate the two tensors since the shapes are different in all axis.</p>