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
8namespace torch {
9namespace jit {
10
11TORCH_API c10::either<c10::OperatorName, c10::FunctionSchema> parseSchemaOrName(
12 const std::string& schemaOrName);
13TORCH_API c10::FunctionSchema parseSchema(const std::string& schema);
14TORCH_API c10::OperatorName parseName(const std::string& name);
15
16} // namespace jit
17} // namespace torch
18