(self)
| 345 | return self.type == other.type and self.const_val == other.const_val |
| 346 | |
| 347 | def __hash__(self): |
| 348 | if isinstance(self.const_val, np.ndarray): |
| 349 | return hash(tuple([self.type, str(self.const_val)])) |
| 350 | return hash(tuple([self.type, self.const_val])) |
| 351 | |
| 352 | def __repr__(self): |
| 353 |