import tensorflow as tf

    x = tfd.Normal(loc=0., scale=1., name="x")
    x_duplicate = tfd.Normal(loc=0., scale=1., name="x")
    with tf.name_scope("y") as name:
      y = tfd.Bernoulli(logits=0., name=name)
