I am trying to convert tensorflow saved model to mlir. I am using tensorflow/bazel-bin/tensorflow/compiler/mlir/tf-mlir-translate --savedmodel-objectgraph-to-mlir /path/to/saved_model -o out.mlir.
iam getting error as SavedModel import failed: Invalid argument: Exported function with exported name(s) ‘call’, ‘keras_api.call’ with multiple concrete functions. Add @tf.function(input_signature=[…]) on this function, or use a narrower list of exported names that excludes this function.
Thanks