Solved by vaisakh_m in post #2 
              
              
                @Harry-Garrison I hope this works for you. 
t_list = float('inf') * torch.ones(torch.cat( [torch.tensor([10]), 3+1+torch.arange( 2)] ).tolist())