onnx / tensorflow-onnx

Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX
Apache License 2.0
2.3k stars 432 forks source link

add a subgraph to match state initializer of gru/lstm #525

Open zhijxu-MS opened 5 years ago

zhijxu-MS commented 5 years ago

if it's a zero initializer, then we can remove the subgraph, for onnx treats it as zero if the input is not supported.

zhijxu-MS commented 5 years ago

Capture

lucienwang1009 commented 5 years ago

@zhijxu-MS Is this issue fixed?