code: def from_i128(x: tf.Tensor, scale: int = 1):
      assert scale > 0
      assert __is_i128_tensor(x)
      if isinstance(scale, float):
          print(
              "WARN: (tf_i128.from_i128) the scale should be an int, but got {}".format(
                  scale
              )
          )
      scale = int(scale)
      return tf_i128.from_i128(x, scale)
  
imports: import logging
  import os
  import numpy
  import tensorflow
  from tensorflow.python.framework.errors import NotFoundError
  import tf_encrypted
label_desc: Use image node_id 9 for calling a global function with example usage: from_i128(x, scale) and returns: tf_i128