class_docstr: Tests for Scenic Optax utils.
class_docstr_tok: ["Tests","for","Scenic","Optax","utils","."]
docstr: Test that `make` runs.
docstr_tok: ["Test","that","`","make","`","runs","."]
code: def test_make(self):
      """Test that `make` runs."""
      cfg = ml_collections.ConfigDict(
          {
              "max_grad_norm": 1.0,
              "per_example_clipping": True,
              "weight_decay_decouple": True,
              "decay_rules": [(".*c.*", 1.0)],
              "optax_name": "scale_by_adam",
              "optax_grad_pmean": True,
              "optax_configs": ml_collections.ConfigDict(
                  {"b1": 0.9, "b2": 0.999}
              ),
          }
      )
      params = {"a": {"b": 1, "d": 3}, "c": 2}
      _, _ = optax.make(cfg, [(".*", "all", (None, 1.0))], params)
  
imports: from typing import Optional
  from absl.testing import absltest
  from absl.testing import parameterized
  import ml_collections
  from scenic.train_lib import optax
  import tensorflow
label_desc: Use image node_id 11 for calling the OptaxTest obj's underlying member method code with example usage: obj.test_make() without return types