as_lazy_tensor function

Convert to Lazy Tensor