Page MenuHomePhabricator

[mlir][Tensor] Add folding for tensor.from_elements
ClosedPublic

Authored by bkramer on May 10 2021, 2:23 PM.

Details

Summary

This trivially folds into a constant when all operands are constant.

Diff Detail

Event Timeline

bkramer created this revision.May 10 2021, 2:23 PM
bkramer requested review of this revision.May 10 2021, 2:23 PM
nicolasvasilache accepted this revision.May 10 2021, 3:29 PM
This revision is now accepted and ready to land.May 10 2021, 3:29 PM
This revision was landed with ongoing or failed builds.May 10 2021, 3:43 PM
This revision was automatically updated to reflect the committed changes.