Open phoenix-meadowlark opened 3 years ago
Routing to @jpienaar to asses and add priority if needed.
@not-jenni Can you help review and prioritize this on frontend rotation this week?
Prioritzed as P3 as TensorFlow is lower priority to other frontends.
Currently the TensorFlow frontend implicitly folds empty tuples, lists and dicts out of compiled functions' input and output signatures. In the case of empty arguments and return values, this changes the arity of the function or the number of values it returns. This produces surprising errors, and limits the ease with which IREE can be incorporated into an already existing pipeline.
I created a test below which should cover a small number of the relevant signatures.