Home
last modified time | relevance | path

Searched refs:ScriptTypeParser (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/frontend/
H A Dscript_type_parser.cpp30 TypePtr ScriptTypeParser::subscriptToType( in subscriptToType()
122 std::optional<std::pair<TypePtr, int32_t>> ScriptTypeParser::parseBroadcastList( in parseBroadcastList()
195 std::optional<std::string> ScriptTypeParser::parseBaseTypeName( in parseBaseTypeName()
233 TypePtr ScriptTypeParser::parseTypeFromExpr(const Expr& expr) const { in parseTypeFromExpr()
250 TypePtr ScriptTypeParser::parseTypeFromExprImpl(const Expr& expr) const { in parseTypeFromExprImpl()
319 TypePtr ScriptTypeParser::parseType(const std::string& str) { in parseType()
324 std::vector<IValue> ScriptTypeParser::evaluateDefaults( in evaluateDefaults()
379 std::vector<Argument> ScriptTypeParser::parseArgsFromDecl( in parseArgsFromDecl()
450 std::vector<Argument> ScriptTypeParser::parseReturnFromDecl(const Decl& decl) { in parseReturnFromDecl()
472 FunctionSchema ScriptTypeParser::parseSchemaFromDef( in parseSchemaFromDef()
[all …]
H A Dscript_type_parser.h15 class TORCH_API ScriptTypeParser {
17 explicit ScriptTypeParser() = default;
18 explicit ScriptTypeParser(ResolverPtr resolver) in ScriptTypeParser() function
H A Dir_emitter.cpp716 ScriptTypeParser typeParser_;
5633 ScriptTypeParser typeParser(hook_res); in define_hooks()
5800 ScriptTypeParser typeParser(std::move(rcb)); in define_interface()
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Dimport_source.cpp557 ScriptTypeParser type_parser(shared_from_this()); in importClass()
699 ScriptTypeParser type_parser(shared_from_this()); in importNamedTuple()
807 ScriptTypeParser type_parser(pImpl); in loadType()
H A Dunpickler.h107 ScriptTypeParser parser; in defaultTypeParser()
H A Dpickle.cpp20 torch::jit::ScriptTypeParser parser; in customClassResolver()
/aosp_15_r20/external/pytorch/torch/csrc/distributed/rpc/
H A Dpython_rpc_handler.h120 std::shared_ptr<jit::ScriptTypeParser> typeParser_;
H A Dpython_rpc_handler.cpp92 typeParser_ = std::make_shared<jit::ScriptTypeParser>( in init()