2 #include <ATen/core/jit_type.h> 3 #include <torch/csrc/jit/alias_info.h> 4 #include <torch/csrc/jit/script/lexer.h> 10 using TypePtr = c10::TypePtr;
11 using TypeAndAlias = std::pair<TypePtr, c10::optional<AliasInfo>>;
14 TypeAndAlias parseBaseType();
16 std::pair<TypePtr, c10::optional<AliasInfo>> parseType();
18 TypePtr parseRefinedTensor();
21 complete_tensor_types = parse_complete_tensor_types;
29 const std::function<
void()>& callback);
31 bool complete_tensor_types;