code: def t_softmax(x, t=1.0, axis=1):
      """Softmax with temperature scaling"""
      return softmax(torch.Tensor(x) / t, dim=axis).numpy()
  
file_path: lightwood/lightwood/analysis/nc/util.py
imports: from typing import Union, Optional
  import torch
  import numpy
  import pandas
  from torch.nn.functional import softmax
  from type_infer.dtype import dtype
label_desc: Use image node_id 1 for calling a global function with example usage: t_softmax(x, t, axis) and returns: softmax