python - How to create a pytorch tensor from list of lists ...
https://stackoverflow.com/questions/70517719/how-to-create-a-pytorch...1 dag siden · I have 2 lists of lists a = [[1,2,3,0], [0,1,2,3]] b = [[0,0,1], [0,6,3]] and expect a pytorch tensor with c = ([[1,2,3,0],[0,0,1]], [[0,1,2,3],[0,6,3]]) How do I do ...