当前位置: 首页 > news >正文

获取savemodel的输入输出节点

saved_model_cli show --dir savemodels --all 

结果:
MetaGraphDef with tag-set: ‘serve’ contains the following SignatureDefs:

signature_def[‘translation_signature’]:
The given SavedModel SignatureDef contains the following input(s):
inputs[‘input_word_ids’] tensor_info:
dtype: DT_INT64
shape: (-1, -1)
name: input_wids_1:0
The given SavedModel SignatureDef contains the following output(s):
outputs[‘output_trans_result’] tensor_info:
dtype: DT_INT32
shape: (-1, 4, -1)
name: NmtModel_1/strided_slice_9:0
Method name is: tensorflow/serving/predict

http://www.lryc.cn/news/5834.html

相关文章:

  • 《Learning to Reconstruct Botanical Trees from Single Images》学习从单幅图像重建植物树
  • vant 4 正式发布,支持暗黑主题,那么是如何实现的呢
  • MySQL的复制 二
  • 秒杀项目之秒杀商品展示及商品秒杀
  • 教育行业需要什么样的数字产品?
  • Spring MVC
  • 类与对象(上)
  • 正确安装 torch_geometric库
  • 【Unity VR开发】结合VRTK4.0:自身移动(滑动)
  • G1垃圾回收器详解
  • tws耳机哪个牌子音质好?tws耳机音质排行榜
  • TIA博途中DB数据块清零的具体方法示例
  • iptables防火墙屏蔽指定ip的端口
  • JavaScript Math(算数) 对象
  • 超详细的JAVA高级进阶基础知识04
  • Python 运算符?
  • linux nuxt 部署 问题汇总
  • C++内存管理
  • 电子招投标系统源码之 —采购数字化转型快人一步,以大数据支撑供应链管理未来
  • ie获取cookie数据,中文乱码;cookie中文乱码终极解决办法
  • day16_关键字this和super丶就近原则和追根溯源原则
  • MySQL 共享锁 (lock in share mode),排他锁 (for update)
  • 类与对象(下)
  • feign技巧 - form方式传值
  • MATLAB | 情人节来绘制更立体的玫瑰花吧
  • 【Python表白代码】 2.14“Valentine‘s Day”“没别的意思 就是借着特殊日子说声喜欢你”你在哪儿?我去见你~(各种玫瑰源码合集)
  • 压力应变电桥信号隔离放大变送器差分输入0-±10mV/0-±20mV转0-20mA/0-10v
  • Linux系统之部署个人导航页
  • 四、Windows 平台安装 MongoDB
  • 浅谈应用安全测试工具