It looks like I can recreate it with the following function, using torch.arange twice:
def create_freq_tensor(size, cf=.5**.5):
    step=(cf/(size/2))
    end = (step * size)/2
    return torch.cat([torch.arange(0,end=end,step=step), torch.arange(-cf, end=0, step=step)])