<p dir="auto">Hi,</p>
<p dir="auto">I found that the Tensorflow Lite did not support Siamese network with parameter sharing of conv2d layers and batch normalization layers yet. (e.g. EnsureBiasVectors will fail to deal with different names of conv output layer with the same kernel.) Is there any plan to support it?</p>
<p dir="auto">Thanks.</p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>TensorFlow version (you are using): tf 2.0-preview</li>
<li>Are you willing to contribute it (Yes/No): No</li>
</ul>
<p dir="auto"><strong>Describe the feature and the current behavior/state.</strong></p>
<p dir="auto">When we are looking into issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="399004145" data-permission-text="Title is private" data-url="https://github.com/tensorflow/addons/issues/12" data-hovercard-type="issue" data-hovercard-url="/tensorflow/addons/issues/12/hovercard" href="https://github.com/tensorflow/addons/issues/12">tensorflow/addons#12</a>, as <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jaingaurav/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jaingaurav">@jaingaurav</a> said,  SetShapeFn only works in graph constructing stage. So for eager mode, we have to add the duplicate logic (codes) in the <code class="notranslate">Compute</code> method of kernel.</p>
<p dir="auto">My question is, can we find a solution to get rid of the duplicate codes for shape inference? Say, SetShapeFn also works in eager mode?</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jaingaurav/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jaingaurav">@jaingaurav</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/karmel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/karmel">@karmel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/seanpmorgan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/seanpmorgan">@seanpmorgan</a></p>