WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle_6 of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle_5 of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle_4 of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle_3 of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle_2 of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle_1 of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
WARN: No corresponding ONNX op matches the tf.op node cos_sim/RandomShuffle of type RandomShuffle
The generated ONNX model needs run with the custom op supports.
There is an error(<class 'StopIteration'>) happened during optimizing on the converted model!
Thers is a tf.random.shuffle op used in my code. And I tried pass param custom_op_conversions with {'RandomShuffle': tf.random.shuffle}, and it report the same error. it seems that onnx opset not support op tf.random.shuffle yet?
Version Used:
tensorflow: 1.12
onnxconverter-common: 1.8.1
keras2onnx: 1.8.0
onnx: 1.8.1
I've also searched RandomShuffle in file onnx/onnx/defs/operator_sets.h and indeed did not find its existence up to version 14.
The text was updated successfully, but these errors were encountered:
We are unable to convert the task to an issue at this time. Please try again.
The issue was successfully created but we are unable to update the comment at this time.
New Operator
Describe the operator
Why is this operator necessary? What does it accomplish?
This is a frequently used operator in
tensorflow/kerasCan this operator be constructed using existing onnx operators?
If so, why not add it as a function?
I don't know.
Is this operator used by any model currently? Which one?
Are you willing to contribute it? (Y/N)
N. I am still a novice to onnx and C++.
Notes
Any additional information
I'm trying to convert a keras h5 model(create with tf1.12) to ONNX:
which report a error like:
Thers is a
tf.random.shuffleop used in my code. And I tried pass paramcustom_op_conversionswith{'RandomShuffle': tf.random.shuffle}, and it report the same error. it seems thatonnxopset not supportop tf.random.shuffleyet?Version Used:
tensorflow: 1.12
onnxconverter-common: 1.8.1
keras2onnx: 1.8.0
onnx: 1.8.1
I've also searched
RandomShufflein fileonnx/onnx/defs/operator_sets.hand indeed did not find its existence up to version 14.The text was updated successfully, but these errors were encountered: