code: def trunc_normal(
      embedding_weight: torch.tensor,
      mean: float = 0.0,
      std: float = 1.0,
  ) -> torch.tensor:
      """
      Truncated normal initialization (approximation).
  
      Taken from FastAI: https://github.com/fastai/fastai/blob/master/fastai/layers.py
  
      """
      # From https://discuss.pytorch.org/t/implementing-truncated-normal-initializer/4778/12
      return embedding_weight.normal_().fmod_(2).mul_(std).add_(mean)
  
imports: from datetime import datetime
  import inspect
  from pathlib import Path
  import re
  import time
  from typing import Any, Dict, Iterable, List, Optional, Union
  import docstring_parser
  import numpy
  import pandas
  import pytorch_lightning
  from scipy.sparse import coo_matrix
  import torch
  from collie.interactions import Interactions
label_desc: Use image node_id 8 for calling a global function with example usage: trunc_normal(embedding_weight, mean, std) and returns: embedding_weight