class_docstr: Tests all the rotated bounding box related utilities.
class_docstr_tok: ["Tests","all","the","rotated","bounding","box","related","utilities","."]
code: def test_convert_cxcywha_to_corners(self):
      key = jax.random.PRNGKey(0)
      cxcywha = sample_cxcywha(key, batch_shape=(300, 200))
      self.assertEqual(cxcywha.shape, (300, 200, 5))
  
      corners = box_utils.cxcywha_to_corners(cxcywha)
      self.assertEqual(corners.shape, (300, 200, 4, 2))
      # This criteria depends on sample function sampling within unit square.
      self.assertTrue(jnp.all(corners >= 0))
      self.assertTrue(jnp.all(corners <= 1))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import jax
  import jax.numpy
  import numpy
  from scenic.model_lib.base_models import box_utils
  from shapely import geometry
label_desc: Use image node_id 1 for calling the RBoxUtilsTest obj's underlying member method code with example usage: obj.test_convert_cxcywha_to_corners() without return types