I have the following Java commands:

import org.pytorch.Tensor;

Tensor var1 = …(some definition);

Tensor var2 = …(some definition);

Tensor var3;

I want var3 to be the concatenation tensor of var1 and var2

What is the command for that and where can I find a list of possible commands?

Thank you.