code: def scipy_trunc_norm_dist(loc, scale, low, high):
      """Construct a scipy.sp_stats.truncnorm for the (scalar) parameters given.
  
      Note: scipy's definition of the parameters is slightly different.
      https://github.com/scipy/scipy/issues/7591
  
      Args:
        loc: Params describing distribution (doesn't support batch)
        scale:
        low:
        high:
  
      Returns:
        scipy frozen distribution.
      """
      a = (low - loc) / scale
      b = (high - loc) / scale
      return sp_stats.truncnorm(a, b, loc=loc, scale=scale)
  
imports: import itertools
  import unittest
  from absl.testing import parameterized
  import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.distributions import truncated_normal
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 1 for calling a global function with example usage: scipy_trunc_norm_dist(loc, scale, low, high) and returns: sp_stats