pytorch
43b56b38 - Add Parsing of tensor constants (#75119)

Commit
2 years ago
Add Parsing of tensor constants (#75119) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/75119 Add support for parsing Tensor constants like Double(4, 4) ... by initializing random tensors. This makes saving IR and then parsing it lossy, so I have it toggled as default not on, but is useful in cases like repro-ing Fusions with tensor constants post-freezing. cc Krovatkin Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D35373999 Pulled By: eellison fbshipit-source-id: a5c8d9f93f23a7442258fc745ed6b6def330dca8 (cherry picked from commit 32dd6567522973563bd452bf486ed27b02e4e35c)
Author
Elias Ellison
Committer
Parents
Loading