Pytorch specific operation for the finding dimension wise mean for a list of tensors

I have a list of tensors, each of 300x1 dimensions and I need to find the mean and variance for each dimension based on the list, how exactly can I achieve this. I could make this work in numpy with numpy arrays, with the following code snippet:

for item in embeddingLists:    # embeddingLists is a list of lists
                               # item contains list of numpy arrays
    tempVal =  np.mean(np.array(item),axis=0)
    meanVects.append(tempVal)

    temVar = np.var(np.array(item),axis=0,ddof=1) 
    varVects.append(temVar)

maybe

for item in embeddingLists:                           
    tempVal =  torch.mean(torch.tensor(item).float(),dim=0)
    meanVects.append(tempVal.item())

    temVar = torch.var(torch.tensor(item).float(),dim=0) * len(item) / ddof 
    varVects.append(temVar.item())

Thanks for the reply. I figured out that the following code can help here

for item in embeddingLists:       
    tempItem = [stuff.unsqueeze(0)  for stuff in item]
    coomn = torch.cat(tempItem)             
    temMean = torch.mean(coomn,dim=0)
    meanVects.append(temMean)
    temVar = torch.var(coomn,dim=0)
    varVects.append(temVar)