onnx-tensorflow
onnx-tensorflow copied to clipboard
use tf.shape instead of .shape for dynamic axes in InstanceNormalization
InstanceNormalization
failed to handle tensor shape with undefined/batch size dimension. This PR fixes it by querying the dynamic shape instead of creating a constant from static shape.
Essentially the same as #543
@masakistan please add in a dynamic shape testcase for instance_normalization into onnx-tensorflow/test/backend/test_dynamic_shape.py
@masakistan please add in a dynamic shape testcase for instance_normalization into onnx-tensorflow/test/backend/test_dynamic_shape.py
Will do, sorry I haven't had time to get to it.
@masakistan please add in a dynamic shape testcase for instance_normalization into onnx-tensorflow/test/backend/test_dynamic_shape.py
Hi, I want to convert my onnx file to the tensorflow considering dynamic batch size, but it fails after lots of trial, could you help me I've attached the onnx file here https://drive.google.com/file/d/15m7fXX7Q2M5EMVLxbiqeUktKbjZPdlST/view?usp=sharing