code: def trun_n_d(n, d):
      """
      Truncate float (n) to (d) decimal places
      :param n: float to truncate
      :param d: how many decimal places to truncate to
      :return:
      """
      return int(n * 10**d) / 10**d
  
file_path: pywick/pywick/misc.py
imports: from enum import Enum, auto
  import errno
  import random
  import os
  import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: trun_n_d(n, d) and returns: unknown