code: def sign(self):
      """Computes the sign value of a tensor (0 is considered positive)"""
      return 1 - 2 * self._ltz()
  
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 7 for calling a global function with example usage: sign() and returns: unknown