Skip to content

Can I use ContribOperators in my onnx helper for new nodes? #6665

Answered by maccam912
maccam912 asked this question in Other Q&A
Discussion options

You must be logged in to vote

Closing my own question with an answer: The node name is just "MurmurHash3" or whatever op you want, but add in the domain argument and set it to com.microsoft in this case. No need to register a custom ops library any more, it worked first try!

node_def = helper.make_node(
    'MurmurHash3', # node name
    ['X'], # inputs
    ['Y'], # outputs
    domain="com.microsoft",
)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by maccam912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant