3 #include <torch/csrc/WindowsTorchApiMacro.h> 4 #include <torch/csrc/jit/testing/file_check.h> 18 TORCH_API ~FileCheck();
21 TORCH_API
void run(
const std::string& test_string);
24 TORCH_API
void run(
const Graph& graph);
27 TORCH_API FileCheck* check(
const std::string& str);
32 TORCH_API FileCheck* check_not(
const std::string& str);
35 TORCH_API FileCheck* check_same(
const std::string& str);
39 TORCH_API FileCheck* check_next(
const std::string& str);
44 TORCH_API FileCheck* check_count(
45 const std::string& str,
47 bool exactly =
false);
54 TORCH_API FileCheck* check_dag(
const std::string& str);
57 TORCH_API
void reset();
61 std::unique_ptr<FileCheckImpl> fcImpl;