code: def _fp_sqrt2(prot, a: "TFEPrivateTensor", precision: int = 1):
      c15 = prot.define_constant(1.5)
      c05 = prot.define_constant(0.5)
  
      y = approx_sqrt_inv(
          prot, a, precision=precision
      )  # y approixmates 1 / sqrt(a)
      g = a * y
      h = y * c05
      for _ in range(precision):
          """
          Over iterations,
              g -> sqrt(b)
              h -> sqrt(1 / b) * 0.5
          1 iteration should give less than 10^{-4} relative error
          """
          r = c15 - g * h  # r = 1 + error
          g = g * r
          h = h * r
      return g, h
  
imports: from math import ceil
  from math import log2
  import numpy
  import tensorflow
  from ..protocol import TFEPrivateTensor
  from ..protocol import TFEPublicTensor
label_desc: Use image node_id 6 for calling a global function with example usage: _fp_sqrt2(prot, a, precision) and returns: g,  h