code: def test_initializer_from_config(name, kwargs):
      """Test that initializers are loaded and configured correctly from registry
      (as partials)."""
      cfg = {"test": {"@initializers": name, **kwargs}}
      func = registry.resolve(cfg)["test"]
      func(NumpyOps(), (1, 2, 3, 4))
  
imports: import numpy
  import pytest
  from thinc import registry
  from thinc.api import NumpyOps, glorot_uniform_init, normal_init, uniform_init, zero_init
label_desc: Use image node_id 2 for calling a global function with example usage: test_initializer_from_config(name, kwargs) without return types