This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Relax ranked constraint on quantization builder
ClosedPublic

Authored by rsuderman on Sep 15 2021, 6:06 PM.

Details

Summary

TosaOp defintion had an artificial constraint that the input/output types
needed to be ranked to invoke the quantization builder. This is correct as an
unranked tensor could still be quantized.

Diff Detail

Event Timeline

rsuderman created this revision.Sep 15 2021, 6:06 PM
rsuderman requested review of this revision.Sep 15 2021, 6:06 PM
NatashaKnk accepted this revision.Sep 15 2021, 6:12 PM
This revision is now accepted and ready to land.Sep 15 2021, 6:12 PM