pytorch/test/cpp
Han Qi 41d35dc201 Add ability for a mobile::Module to save as flatbuffer (#67351)
Summary:
Included functions:

* save_mobile_module -> saves a mobile::Module to flatbuffer
* load_mobile_module_from_file -> loads a flatbuffer into mobile::Module
* parse_mobile_module -> parses from bytes or deserialized flatbuffer
      Module object

Fixes #{issue number}

Pull Request resolved: https://github.com/pytorch/pytorch/pull/67351

Reviewed By: iseeyuan

Differential Revision: D32010095

Pulled By: qihqi

fbshipit-source-id: d763b0557780f7c2661b6485105b045e41a5e8f1
2021-12-01 23:58:15 -08:00
..
api Add set_to_none option to C++ API (#68801) 2021-11-29 08:42:39 -08:00
c10d Enable desync root cause analysis for NCCL (#68310) 2021-11-17 20:29:03 -08:00
common Trim libshm deps, move tempfile.h to c10 (#17019) 2019-02-13 19:38:35 -08:00
dist_autograd Fix distributed autograd gradients synchronization (#57792) 2021-05-09 17:32:59 -07:00
jit Add ability for a mobile::Module to save as flatbuffer (#67351) 2021-12-01 23:58:15 -08:00
lazy [LTC] Upstream helpers for c10::Device <=> BackendDevice (#69064) 2021-12-01 12:15:32 -08:00
lite_interpreter_runtime Back out "Revert D30710710: [Pytorch Edge] Support profiling kineto events from external source" (#66421) 2021-10-12 10:55:29 -07:00
monitor torch.monitor - Initial C++ Stats (#68074) 2021-11-18 21:46:23 -08:00
rpc Remove ProcessGroup from TensorPipeAgent initialization (#68128) 2021-11-11 12:28:55 -08:00
tensorexpr [TensorExpr] Allow for 'keepdim' argument in aten::mean in NNC's external call. (#68756) 2021-11-30 00:06:34 -08:00
__init__.py remediation of S205607 2020-07-17 17:19:47 -07:00