code: def decrypt(
      dk: DecryptionKey,
      ciphertext: Ciphertext,
      dtype: tf.DType = tf.int32,
  ) -> tf.Tensor:
      c = ciphertext.raw
  
      gxd = tf_big.pow(c, dk.d1, dk.nn)
      xd = (gxd - 1) // dk.n
      x = (xd * dk.d2) % dk.n
  
      if dtype == tf.variant:
          return x
  
      return tf_big.export_tensor(x, dtype=dtype)
  
imports: from typing import Optional
  from typing import Tuple
  import tensorflow
  import tf_big
label_desc: Use image node_id 6 for calling a global function with example usage: decrypt(dk, ciphertext, dtype) and returns: tf_big, x