Skip to content

Kezhan/separate op def from kernels#143

Merged
linkerzhang merged 10 commits intomasterfrom
kezhan/separate_op_def_from_kernels
Dec 11, 2018
Merged

Kezhan/separate op def from kernels#143
linkerzhang merged 10 commits intomasterfrom
kezhan/separate_op_def_from_kernels

Conversation

@linkerzhang
Copy link
Contributor

No description provided.

@linkerzhang linkerzhang requested a review from a team as a code owner December 11, 2018 01:26
@pranavsharma
Copy link
Contributor

Should we rename contrib_ops.h to contrib_defs.h to make it more consistent with ONNX?

pranavsharma
pranavsharma previously approved these changes Dec 11, 2018

#include "core/framework/op_kernel.h"
#include "core/framework/kernel_registry.h"
#include "onnx/defs/schema.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

replace this line with:

#include "onnxruntime/core/graph/onnx_protobuf.h"

It will solve your current build failure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank you very much! Changming.

@snnn
Copy link
Contributor

snnn commented Dec 11, 2018

environment.cc belongs to onnxruntime_framework project.
however, it is using onnxruntime::contrib::RegisterContribSchemas(), which is part of the onnxruntime_providers.

@linkerzhang
Copy link
Contributor Author

@snnn thank you! those schemas only depend on "graph", to avoid any issues later, I put them in graph now.

@linkerzhang linkerzhang merged commit 60c6b9d into master Dec 11, 2018
@linkerzhang linkerzhang deleted the kezhan/separate_op_def_from_kernels branch December 12, 2018 00:15
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants