```python
A=[]
A.append(B)
A = torch.tensor(A, dtype=torch.float)