Hi everyone,
I want to make a tensor T of dim n (arbitrary)  which is something like T_{i1,...,in} such that each of i can be 0, 1, or 2 which must be something like  T = torch.tensor(3, 3, ..., 3). Do you have any idea how can I do this?
Many thanks in advance.