1 | |
---|---|
2 | #pragma once |
3 | |
4 | #include <torch/csrc/jit/ir/ir.h> |
5 | |
6 | namespace torch { |
7 | namespace jit { |
8 | |
9 | TORCH_API void Autocast(const std::shared_ptr<Graph>& graph); |
10 | |
11 | TORCH_API bool setAutocastMode(bool value); |
12 | TORCH_API bool autocastEnabled(); |
13 | |
14 | } // namespace jit |
15 | } // namespace torch |
16 |