This is an archive of the discontinued LLVM Phabricator instance.

fix mlgo regalloc test model generation for tflite
ClosedPublic

Authored by yundiqian on Aug 8 2022, 8:37 PM.

Details

Summary

To move from TF C API to TFLite, we found that the argmax op in TFLite does not work for int64 inputs, so cast the int64 inputs to int32 inputs to make TFLite argmax op work

Diff Detail

Event Timeline

yundiqian created this revision.Aug 8 2022, 8:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 8:37 PM
yundiqian requested review of this revision.Aug 8 2022, 8:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 8:37 PM
yundiqian retitled this revision from # Enter a commit message. dfdds to fix mlgo regalloc test model generation for tflite.Aug 8 2022, 8:40 PM
yundiqian edited the summary of this revision. (Show Details)
yundiqian added a reviewer: mtrofin.
mtrofin accepted this revision.Aug 9 2022, 12:36 PM
This revision is now accepted and ready to land.Aug 9 2022, 12:36 PM
This revision was landed with ongoing or failed builds.Aug 9 2022, 12:37 PM
This revision was automatically updated to reflect the committed changes.