code: def test_initializer_execution(
      shape, initializer, opts, condition, rng
  ):
      try:
          ini = initializer(rng=rng, **opts)
      except:
          ini = initializer(**opts)
      x = ini(shape)
      assert condition(x)
  
      # Check difference of initialization with the same shape using different initializer
      ini0 = initializer(**opts)
      ini1 = initializer(**opts)
      x = ini0(shape)
      y = ini1(shape)
      if not isinstance(ini0, I.ConstantInitializer):
          assert np.any(x != y)
  
imports: import pytest
  import numpy
  import nnabla
  import nnabla.initializer
label_desc: Use image node_id 3 for calling a global function with example usage: test_initializer_execution(shape, initializer, opts, condition, rng) without return types