带有keras plot_model()cound的tf.math.add()未显示添加操作的两个输入
如果我在模型中添加一行,例如p3 = tf.math.add(up_sample,x3_,name =“ up_sample + x3 _”)
在keras plot_model中,它只是显示第一个输入,如下图显示
[![Enter Image Description在此处] [1]] [1] [1]
我想知道如何显示add()函数的两个输入,tensorflow2 [1]: https://i.sstatic.net/zjjj9o.png
if I add one line to the model, such as p3 = tf.math.add(up_sample,x3_,name="up_sample + x3_")
in the keras plot_model, it just shows the first input,as the following image shows
[![enter image description here][1]][1]
I want to know how to show two inputs of the add() function with tensorflow2
[1]: https://i.sstatic.net/zjJ9o.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在
lambda
layer中包装tf.math.add
:Try wrapping the
tf.math.add
in aLambda
layer: