1 | #pragma once |
---|---|
2 | |
3 | #include <ATen/core/function_schema.h> |
4 | #include <c10/macros/Macros.h> |
5 | #include <c10/util/either.h> |
6 | #include <string> |
7 | |
8 | namespace torch { |
9 | namespace jit { |
10 | |
11 | TORCH_API c10::either<c10::OperatorName, c10::FunctionSchema> parseSchemaOrName( |
12 | const std::string& schemaOrName); |
13 | TORCH_API c10::FunctionSchema parseSchema(const std::string& schema); |
14 | TORCH_API c10::OperatorName parseName(const std::string& name); |
15 | |
16 | } // namespace jit |
17 | } // namespace torch |
18 |