class_docstr: Tests for DeformableDETRDecoder.
class_docstr_tok: ["Tests","for","DeformableDETRDecoder","."]
code: def test_inverse_sigmoid(self):
      x = jnp.array(np.random.normal(size=(2, 4, 8)))
      y = inverse_sigmoid(nn.sigmoid(x))
      self.assertSequenceAlmostEqual(
          x.reshape(-1), y.reshape(-1), delta=1e-5
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import flax.linen
  import jax
  from jax import random
  import jax.numpy
  import ml_collections
  import numpy
  from scenic.projects.baselines.deformable_detr.deformable_transformer import BBoxCoordPredictor
  from scenic.projects.baselines.deformable_detr.deformable_transformer import DeformableDETRDecoder
  from scenic.projects.baselines.deformable_detr.deformable_transformer import DeformableDETRDecoderLayer
  from scenic.projects.baselines.deformable_detr.deformable_transformer import DeformableDETREncoder
  from scenic.projects.baselines.deformable_detr.deformable_transformer import DeformableDETREncoderLayer
  from scenic.projects.baselines.deformable_detr.deformable_transformer import DeformableDETRTransformer
  from scenic.projects.baselines.deformable_detr.deformable_transformer import get_encoder_reference_points
  from scenic.projects.baselines.deformable_detr.deformable_transformer import get_mask_valid_ratio
  from scenic.projects.baselines.deformable_detr.deformable_transformer import inverse_sigmoid
label_desc: Use image node_id 1 for calling the DeformableDETRDecoderTest obj's underlying member method code with example usage: obj.test_inverse_sigmoid() without return types