def __hash__(self): """Hash equal for same kinds of TensorType""" return hashtype(self) ^ hash(self.dtype) ^ hash(self.broadcastable)
def __hash__(self): return hashtype(self)
def __hash__(self): return gof.hashtype(self) ^ hash(self.ttype)