Skip to content

save operator version information to program desc, test=develop#27668

Merged
Shixiaowei02 merged 1 commit intoPaddlePaddle:developfrom
Shixiaowei02:dev/ops_version
Oct 10, 2020
Merged

save operator version information to program desc, test=develop#27668
Shixiaowei02 merged 1 commit intoPaddlePaddle:developfrom
Shixiaowei02:dev/ops_version

Conversation

@Shixiaowei02
Copy link
Contributor

@Shixiaowei02 Shixiaowei02 commented Sep 28, 2020

PR types

New features

PR changes

APIs

Describe

#26644 的版本信息存储到模型计算图。
本提交改动了 framework.proto 文件,升级了(可选的)算子信息数据结构。新版本向后兼容 / 旧版本向前兼容已通过自测。

op_version_map {
  pair {
    op_name: "distribute_fpn_proposals"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "collect_fpn_proposals"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "hard_shrink"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "arg_max"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "arg_min"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "generate_proposals"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "conv_transpose"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "unique"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "softplus"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "leaky_relu"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "roi_pool"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "roi_align"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "lookup_table_v2"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "gather"
    op_version {
      version: 1
    }
  }
  pair {
    op_name: "cumsum"
    op_version {
      version: 1
    }
  }
}

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Shixiaowei02 Shixiaowei02 changed the title save operator versions infomation to program desc, test=develop save operator versions information to program desc, test=develop Sep 28, 2020
@Shixiaowei02 Shixiaowei02 changed the title save operator versions information to program desc, test=develop save operator version information to program desc, test=develop Sep 28, 2020
Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Shixiaowei02 Shixiaowei02 merged commit 0d27591 into PaddlePaddle:develop Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants