class_docstr: Dummy replica context for numpy.
code: def num_replicas_in_sync(self):
      if JAX_MODE:
          raise NotImplementedError
      return 1
  
imports: import collections
  import functools
  from tensorflow_probability.python.internal.backend.numpy import __internal__
  from tensorflow_probability.python.internal.backend.numpy import _utils
  from tensorflow_probability.python.internal.backend.numpy import bitwise
  from tensorflow_probability.python.internal.backend.numpy import config
  from tensorflow_probability.python.internal.backend.numpy import debugging
  from tensorflow_probability.python.internal.backend.numpy import errors
  from tensorflow_probability.python.internal.backend.numpy import linalg
  from tensorflow_probability.python.internal.backend.numpy import nest
  from tensorflow_probability.python.internal.backend.numpy import nn
  from tensorflow_probability.python.internal.backend.numpy import numpy_keras
  from tensorflow_probability.python.internal.backend.numpy import numpy_logging
  from tensorflow_probability.python.internal.backend.numpy import numpy_math
  from tensorflow_probability.python.internal.backend.numpy import numpy_signal
  from tensorflow_probability.python.internal.backend.numpy import random_generators
  from tensorflow_probability.python.internal.backend.numpy import raw_ops
  from tensorflow_probability.python.internal.backend.numpy import sets_lib
  from tensorflow_probability.python.internal.backend.numpy import sparse_lib
  from tensorflow_probability.python.internal.backend.numpy import test_lib
  from tensorflow_probability.python.internal.backend.numpy.control_flow import *
  from tensorflow_probability.python.internal.backend.numpy.dtype import *
  from tensorflow_probability.python.internal.backend.numpy.functional_ops import *
  from tensorflow_probability.python.internal.backend.numpy.gen.tensor_shape import dimension_value
  from tensorflow_probability.python.internal.backend.numpy.gen.tensor_shape import TensorShape
  from tensorflow_probability.python.internal.backend.numpy.misc import *
  from tensorflow_probability.python.internal.backend.numpy.numpy_array import *
  from tensorflow_probability.python.internal.backend.numpy.numpy_math import *
  from tensorflow_probability.python.internal.backend.numpy.ops import *
  from tensorflow_probability.python.internal.backend.numpy.tensor_array_ops import TensorArray
  from tensorflow_probability.python.internal.backend.numpy.tensor_spec import TensorSpec
  from tensorflow_probability.python.internal.backend.numpy.type_spec import BatchableTypeSpec
  from tensorflow_probability.python.internal.backend.numpy.type_spec import TypeSpec
label_desc: Use image node_id 2 for calling the _SingleReplicaContext obj's underlying member method code with example usage: obj.num_replicas_in_sync() and returns: int