tensorflow-onnx
tensorflow-onnx copied to clipboard
Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX
**Describe the bug** When an `tf.keras.layers.Embedding` with attribute `mask_zero=True` attribute precede LSTM layer, the LSTM is **converted into loops instead of LSTM op**. **System information** - OS Platform and Distribution...
**Describe the bug** The `BitwiseAnd` and `PartitionedCall` ops are not supported. **Urgency** It's a blocker for me, but there are no specific deadline dates. **System information** - OS Platform and...
**Describe the bug** The ` BitwiseXor`, `BitwiseOr`, `Bitcast`, and `BitwiseAnd` ops are not supported by the converter. 1. https://www.tensorflow.org/api_docs/python/tf/raw_ops/Bitcast 2. https://www.tensorflow.org/api_docs/python/tf/raw_ops/BitwiseAnd 3. https://www.tensorflow.org/api_docs/python/tf/raw_ops/BitwiseOr 4. https://www.tensorflow.org/api_docs/python/tf/raw_ops/BitwiseXor For context, I'm trying to...
I'm trying to convert a Keras model with [IntegerLookup](https://www.tensorflow.org/api_docs/python/tf/keras/layers/IntegerLookup) and [StringLookup](https://www.tensorflow.org/api_docs/python/tf/keras/layers/StringLookup) layers. I've seen #1500 and #1219, but still getting errors. This is the procedure I'm following: ``` pip install...
It would be great to get support for Real, Imag, and Complex. Anybody working with audio data has to deal with complex inputs and this is very difficult without support...
**Describe the bug** I'm trying to convert a tensorflow 2 model to onnx and although I get a model at the end, I just can't use it because some of...
**Describe the bug** I tried to convert my model(graphdef) with the tf2onnx tool, but it takes forever to do the conversion. After debugging, it looks like the code stuck at...
5 tests are failed with latest [tfjs vesion 3.17](https://github.com/tensorflow/tfjs/releases/tag/tfjs-v3.17.0), which have skiped so far. Need to support it in the future. https://github.com/onnx/tensorflow-onnx/blob/772dbe605e94880d4cbf8e9e1ed9ce9517b89c64/tests/test_cond.py#L121 https://github.com/onnx/tensorflow-onnx/blob/772dbe605e94880d4cbf8e9e1ed9ce9517b89c64/tests/test_loops.py#L69 https://github.com/onnx/tensorflow-onnx/blob/772dbe605e94880d4cbf8e9e1ed9ce9517b89c64/tests/test_loops.py#L162 https://github.com/onnx/tensorflow-onnx/blob/772dbe605e94880d4cbf8e9e1ed9ce9517b89c64/tests/test_loops.py#L186 https://github.com/onnx/tensorflow-onnx/blob/772dbe605e94880d4cbf8e9e1ed9ce9517b89c64/tests/test_loops.py#L224
I am doing some experiment on using QAT for a sample model. Looks like QDQ node for the weight tensor of Conv operation is always folded during onnx generation. Version...
I am trying to convert a tensorflow model with `depthwise_conv2d` operation to onnx. However, if the input has dynamic dimensions such as `tf.placeholder(tf.float32, [1, None, None, 3], name='input')`, tf2onnx will...