code: def lazify(
      obj: Union[LinearOperator, torch.Tensor]
  ) -> operators.DenseLinearOperator:
      warnings.warn(
          "gpytorch.lazy.lazify is deprecated in favor of linear_operator.to_linear_operator"
      )
      return to_linear_operator(obj)
  
imports: import warnings
  from typing import Union
  import torch
  from linear_operator import LinearOperator, operators, to_linear_operator
  from .lazy_tensor import deprecated_lazy_tensor
label_desc: Use image node_id 1 for calling a global function with example usage: lazify(obj) and returns: to_linear_operator