Open BDUG opened 7 months ago
How do I best create a Tensor from a &Vec<Vec> type? Everything above 1D is quite hard to manage for index based value setting.
You could create 1D tensors and then .cat to create the final 2D tensor.
.cat
How do I best create a Tensor from a &Vec<Vec> type? Everything above 1D is quite hard to manage for index based value setting.