[Fix] Fix stuck in torch.einsum
when create dataset
#2065
Merged
torch.einsum
when create dataset
#2065