3 #include <c10/util/Optional.h> 4 #include <c10/core/Device.h> 5 #include <torch/csrc/WindowsTorchApiMacro.h> 6 #include <torch/types.h> 50 void read(
const std::string& key,
Tensor& tensor,
bool is_buffer =
false);
55 void read(
const std::string& key,
InputArchive& archive);
60 void load_from(
const std::string& filename,
66 void load_from(std::istream& stream,
72 template <
typename... Ts>
74 read(std::forward<Ts>(ts)...);
78 std::shared_ptr<jit::script::Module> module_;
Flush-To-Zero and Denormals-Are-Zero mode.