lazy_tensor function

Create a lazy tensor