code: def _test_param(self, param):
      if isinstance(param, np.ndarray):
          param_ = param.astype(self.dtype)
      else:
          param_ = np.array(param, dtype=self.dtype)
      return tf1.placeholder_with_default(
          param_, shape=param_.shape if self.use_static_shape else None
      )
  
imports: import numpy
  import scipy.stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import horseshoe
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 14 for calling the _HorseshoeTest obj's underlying member method code with example usage: obj._test_param(param) and returns: tf1