开发者社区 问答 正文

各位大神,为什么 get_operation_by_name 方法使用这样的名字报错找不到操作符呢?

KeyError: "The name 'Inputs/input_x' refers to an Operation not in the graph."

image.png

image.png

我应该用什么名字去查找呢?

本问题来自阿里云开发者社区的【11大垂直技术领域开发者社群】。点击链接欢迎加入感兴趣的技术领域群

展开
收起
珍宝珠 2019-10-16 17:13:55 917 分享 版权
1 条回答
写回答
取消 提交回答
  • 精于基础,广于工具,熟于业务。

    像你下边那句直接graph.get_operation_by_name("input_x").output[0]就可以了

    2019-10-16 19:11:43
    赞同 展开评论
问答分类:
问答地址: