<p dir="auto">Is it possible to incorporate Weight Normalization (<a href="https://arxiv.org/abs/1602.07868" rel="nofollow">https://arxiv.org/abs/1602.07868</a>) into tensorflow itself?</p>
<p dir="auto"><a href="https://github.com/openai/weightnorm/tree/master/tensorflow">https://github.com/openai/weightnorm/tree/master/tensorflow</a></p>
<p dir="auto">can you implement <a href="https://arxiv.org/pdf/1602.07868.pdf" rel="nofollow">weight norm</a> ?</p>
<p dir="auto">I want to use it as follows.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    x = tf.layers.conv2d(x, filter_size=32, kernel_size=[3,3], strides=2)
    x = weight_norm(x)"><pre class="notranslate">    <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">layers</span>.<span class="pl-en">conv2d</span>(<span class="pl-s1">x</span>, <span class="pl-s1">filter_size</span><span class="pl-c1">=</span><span class="pl-c1">32</span>, <span class="pl-s1">kernel_size</span><span class="pl-c1">=</span>[<span class="pl-c1">3</span>,<span class="pl-c1">3</span>], <span class="pl-s1">strides</span><span class="pl-c1">=</span><span class="pl-c1">2</span>)
    <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-en">weight_norm</span>(<span class="pl-s1">x</span>)</pre></div>
<p dir="auto">Is it possible?</p>