This is an archive of the discontinued LLVM Phabricator instance.

[llvm] Add a parser from JSON to TensorSpec
ClosedPublic

Authored by mtrofin on Jul 30 2020, 12:45 PM.

Details

Summary

A JSON->TensorSpec utility we will use subsequently to specify
additional outputs needed for certain training scenarios.

Diff Detail

Event Timeline

mtrofin created this revision.Jul 30 2020, 12:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 30 2020, 12:45 PM
mtrofin requested review of this revision.Jul 30 2020, 12:45 PM
mtrofin updated this revision to Diff 282026.Jul 30 2020, 12:51 PM

One more test

yundiqian accepted this revision.Aug 2 2020, 9:23 PM
This revision is now accepted and ready to land.Aug 2 2020, 9:23 PM
MaskRay added a subscriber: MaskRay.Aug 2 2020, 9:49 PM
MaskRay added inline comments.
llvm/unittests/Analysis/TFUtilsTest.cpp
116

How about:

R"({

})");

You can remove two lines.

125
128

No newline at end of file

mtrofin updated this revision to Diff 282652.Aug 3 2020, 9:41 AM
mtrofin marked 2 inline comments as done.

feedback

mtrofin marked an inline comment as done.Aug 3 2020, 9:41 AM
This revision was landed with ongoing or failed builds.Aug 3 2020, 9:49 AM
This revision was automatically updated to reflect the committed changes.