class_docstr: Basic representation of data stored as a dense Tensor.
class_docstr_tok: ["Basic","representation","of","data","stored","as","a","dense","Tensor","."]
code: def __eq__(self, other: Any) -> bool:
      return (
          type(other) is type(self)
          and self.shape == other.shape
          and self.values.equal(other.values)
      )
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from dataclasses import dataclass, fields
  from typing import Any
  from torch import device, dtype, LongTensor, Size, Tensor
label_desc: Use image node_id 2 for calling the DenseContainer obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown