未验证 提交 fb0729ee 编写于 作者: Z Zhang Ting 提交者: GitHub

avoid warnings in MAC compile (#24124)

上级 b059fb95
......@@ -484,8 +484,8 @@ class OperatorWithKernel : public OperatorBase {
const std::string& var_name, const Tensor& tensor,
const OpKernelType& expected_kernel_type) const;
virtual platform::Place GetExecutionPlace(
const platform::Place& platform) const {
platform::Place GetExecutionPlace(
const platform::Place& platform) const override {
return kernel_type_->place_;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册