equals-.lazy_tensor function

Compare lazy tensors

Compare lazy tensors

Compares lazy tensors using their indices and the data descriptor's hash. This means that if two lazy_tensors:

  • are equal: they will mateterialize to the same tensors.
  • are unequal: they might materialize to the same tensors.
## S3 method for class 'lazy_tensor' x == y

Arguments

  • x, y: (lazy_tensor)

    Values to compare.