'>2</span><span class='op'>)</span>, scale <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span><span class='fl'>1</span>, <span class='fl'>0.5</span><span class='op'>)</span><span class='op'>)</span>
  <span class='va'>d</span> <span class='op'>%&gt;%</span> <span class='fu'>tfd_mean</span><span class='op'>(</span><span class='op'>)</span>
</div><div class='output co'>#&gt; tf.Tensor([1. 2.], shape=(2,), dtype=float32)</div><div class='inpu