code: def normc_initializer(std: float = 1.0) -> Any:
      def initializer(tensor):
          tensor.data.normal_(0, 1)
          tensor.data *= std / torch.sqrt(
              tensor.data.pow(2).sum(1, keepdim=True)
          )
  
      return initializer
  
imports: import numpy
  from typing import Union, Tuple, Any, List
  from ray.rllib.models.utils import get_activation_fn
  from ray.rllib.utils.annotations import DeveloperAPI
  from ray.rllib.utils.framework import try_import_torch
  from ray.rllib.utils.typing import TensorType
label_desc: Use image node_id 1 for calling a global function with example usage: normc_initializer(std) and returns: initializer