blob: ca21f2c60d0315a356df82791a1ba60f9cfc0123 [file] [log] [blame]
#pragma once
#include <torch/csrc/jit/ir/ir.h>
namespace torch {
namespace jit {
TORCH_API void Autocast(const std::shared_ptr<Graph>& graph);
TORCH_API bool setAutocastMode(bool value);
TORCH_API bool autocastEnabled();
} // namespace jit
} // namespace torch