Created by: sneaxiy
create_lod_tensor would only create Nx1 tensors when data is a list. This PR fixes it.
create_lod_tensor