code: def testOffsetWorksCorrectly(self):
      n = int(1e5)
      offset = tf.fill([n], 1.0)
      [
          model_matrix,
          response,
          model_coefficients_true,
          linear_response_true,
      ] = self.make_dataset(n=n, d=3, link="probit", offset=offset)
      (
          model_coefficients,
          linear_response,
          is_converged,
          _,
      ) = fisher_scoring.fit(
          model_matrix,
          response,
          family.BernoulliNormalCDF(),
          offset=offset,
          fast_unsafe_numerics=self.fast,
          maximum_iterations=20,
      )
      [
          model_coefficients_,
          linear_response_,
          is_converged_,
          model_coefficients_true_,
          linear_response_true_,
      ] = self.evaluate(
          [
              model_coefficients,
              linear_response,
              is_converged,
              model_coefficients_true,
              linear_response_true,
          ]
      )
  
      self.assertTrue(is_converged_)
      avg_response_diff = np.mean(
          linear_response_ - linear_response_true_
      )
      self.assertNear(0.0, avg_response_diff, err=3e-3)
      self.assertAllClose(
          model_coefficients_true_,
          model_coefficients_,
          atol=0.03,
          rtol=0.15,
      )
  
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import bernoulli
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.distributions import uniform
  from tensorflow_probability.python.glm import family
  from tensorflow_probability.python.glm import fisher_scoring
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 5 for calling the FitTestFast obj's underlying member method code with example usage: obj.testOffsetWorksCorrectly() without return types