class_docstr: Test cases for stateless random-number generator operators.
class_docstr_tok: ["Test","cases","for","stateless","random-number","generator","operators","."]
code: def testParameterizedTruncatedNormalBroadcast(self):
      with self.session() as sess, self.test_scope():
          seed_t = array_ops.placeholder(dtypes.int32, shape=[2])
          means = array_ops.zeros([2], dtype=dtypes.float32)
          stddevs = array_ops.ones([3, 1], dtype=dtypes.float32)
          minvals = -array_ops.ones([5, 1, 1], dtype=dtypes.float32)
          maxvals = array_ops.ones([7, 1, 1, 1], dtype=dtypes.float32)
          shape = [11, 7, 5, 3, 2]
          x = stateless.stateless_parameterized_truncated_normal(
              shape=shape,
              seed=seed_t,
              means=means,
              stddevs=stddevs,
              minvals=minvals,
              maxvals=maxvals,
          )
          y = sess.run(x, {seed_t: [0x12345678, 0xABCDEF1]})
          self.assertEqual((11, 7, 5, 3, 2), y.shape)
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.client import device_lib
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.kernel_tests.random import util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_stateless_random_ops_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops_util
  from tensorflow.python.ops import stateless_random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 19 for calling the StatelessRandomOpsTest obj's underlying member method code with example usage: obj.testParameterizedTruncatedNormalBroadcast() without return types