[llvm][NFC] ML Policies: changed the saved_model protobuf to text
authorMircea Trofin <mtrofin@google.com>
Mon, 13 Jul 2020 17:59:55 +0000 (10:59 -0700)
committerMircea Trofin <mtrofin@google.com>
Mon, 13 Jul 2020 18:07:07 +0000 (11:07 -0700)
commitacabaf600b7a28079721dd934d448aecc7c41cad
tree4803259c26866700e9dc6cbdef309de392b04560
parent2e2af6026b43511f8681397a9b6f13525dda970f
[llvm][NFC] ML Policies: changed the saved_model protobuf to text

Also compacted the checkpoints (variables) to one file (plus the index).

This reduces the binary model files to just the variables and their
index. The index is very small. The variables are serialized float
arrays. When updated through training, the changes are very likely
unlocalized, so there's very little value in them being anything else
than binary.
llvm/lib/Analysis/models/inliner/saved_model.pb [deleted file]
llvm/lib/Analysis/models/inliner/saved_model.pbtxt [new file with mode: 0644]
llvm/lib/Analysis/models/inliner/variables/variables.data-00000-of-00001 [moved from llvm/lib/Analysis/models/inliner/variables/variables.data-00001-of-00002 with 77% similarity]
llvm/lib/Analysis/models/inliner/variables/variables.data-00000-of-00002 [deleted file]
llvm/lib/Analysis/models/inliner/variables/variables.index