code: def validate_temperature(temperature):
      if temperature <= 0.0:
          msg = "softmax temperature must not be zero or negative"
          raise ValueError(msg)
  
file_path: thinc/thinc/layers/softmax.py
imports: from typing import Callable, Optional, Tuple, cast
  from ..config import registry
  from ..initializers import zero_init
  from ..model import Model
  from ..types import Floats1d, Floats2d
  from ..util import ArrayInfo, get_width, partial
label_desc: Use image node_id 5 for calling a global function with example usage: validate_temperature(temperature) without return types