#pragma once #include namespace torch::jit { TORCH_API void setGraphExecutorOptimize(bool o); TORCH_API bool getGraphExecutorOptimize(); } // namespace torch::jit