code: def ne(self, y):
      """Returns self != y"""
      difference = self - y
      difference = type(difference).stack([difference, -difference])
      return difference._ltz().sum(0)
  
file_path: CrypTen/crypten/common/functions/logic.py
imports: import crypten
  from crypten.common.tensor_types import is_tensor
label_desc: Use image node_id 6 for calling a global function with example usage: ne(y) and returns: difference