class_docstr: Uniform distribution on the unit hypersphere.
code: def _sample_n(self, n, seed=None):
      samples = tf.random.stateless_normal(
          (n, self.order), seed=seed, dtype=self.dtype
      )
      radius = tf.math.sqrt(
          tf.reduce_sum(tf.square(samples), -1, keepdims=True)
      )
      if self.width:
          radius *= tf.random.stateless_uniform(
              (n, 1),
              minval=1.0 - self.width / 2.0,
              maxval=1.0 + self.width / 2.0,
              seed=seed,
              dtype=self.dtype,
          )
      return samples / radius
  
file_path: compression/models/toy_sources/sphere.py
imports: import tensorflow
  import tensorflow_probability
label_desc: Use image node_id 8 for calling the Sphere obj's underlying member method code with example usage: obj._sample_n(n, seed) and returns: unknown