def METHOD_NAME():
  rng = stateful_random_ops.Generator.from_seed(seed).binomial(
      shape=[10 * num], counts=counts, probs=probs, dtype=dtype)
  ret = array_ops.reshape(rng, [10, num])
  ret = self.evaluate(ret)
  return ret