code: def make_normc_initializer(
      std: float = 1.0,
  ) -> Callable[[torch.Tensor], None]:
      """Compiles normc tensor initialization function.
  
      :param std: The standard deviation.
      :return: The tensor initialization function.
      """
  
      def initializer(tensor: torch.Tensor) -> None:
          """Initializes the given tensor.
  
          :param tensor: The torch tensor to be initialized.
          """
          tensor.data.normal_(0, 1)
          tensor.data *= std / torch.sqrt(
              tensor.data.pow(2).sum(1, keepdim=True)
          )
  
      return initializer
  
file_path: maze/maze/perception/weight_init.py
imports: from typing import Callable
  import numpy
  import torch
  import torch.nn
  from maze.perception.blocks.feed_forward.graph_attention import GraphAttentionLayer
  from maze.perception.blocks.feed_forward.graph_conv import GraphConvLayer, GraphConvBlock
label_desc: Use image node_id 1 for calling a global function with example usage: make_normc_initializer(std) and returns: initializer