Home
last modified time | relevance | path

Searched refs:PythonPrint (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/docs/
H A Dserialization.md111 `PythonPrint` is the function that takes as input a `ClassType` or `Function`
116 `PythonPrint` works by walking a `Graph` (the IR representation of either a
120 that `PythonPrint` tracks, however:
122 **Class dependencies**. While walking the graph, `PythonPrint` keeps track of
130 `PythonPrint` encounters a constant tensor it will emit a reference to a
138 **Original source range records**. To aid debugging, `PythonPrint` remembers
142 code that `PythonPrint` emitted.
166 they are statically typed, `PythonPrint` must enumerate a module's attributes
193 Once all code objects have been `PythonPrint`ed into source strings, we have
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Dpython_print.cpp1651 PythonPrint::PythonPrint( in PythonPrint() function in torch::jit::PythonPrint
1662 void PythonPrint::printNamedType(const c10::NamedTypePtr& type) { in printNamedType()
1666 void PythonPrint::printFunction(const Function& func) { in printFunction()
1670 void PythonPrint::printMethod(const Function& func) { in printMethod()
1674 std::string PythonPrint::str() const { in str()
1678 const SourceRangeRecords& PythonPrint::ranges() const { in ranges()
1682 uint64_t PythonPrint::minVersion() const { in minVersion()
1749 std::unordered_map<std::string, PythonPrint> grouped_by_prefix; in jitModuleToPythonCodeAndConstants()
1767 PythonPrint( in jitModuleToPythonCodeAndConstants()
H A Dpython_print.h29 struct TORCH_API PythonPrint { struct
30 PythonPrint(
H A Dexport.h109 OrderedDict<std::string, PythonPrint> file_streams_;
H A Dexport_module.cpp780 PythonPrint* pp = file_streams_.find(qualifier); in convertNamedType()
785 PythonPrint( in convertNamedType()
/aosp_15_r20/external/pytorch/torch/csrc/jit/
H A Djit_log.cpp135 PythonPrint pp(constants, deps); in log_function()
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dscript_init.cpp1258 PythonPrint pp(constants, deps); in initJitScriptBindings()
1267 PythonPrint pp(constants, deps); in initJitScriptBindings()
1500 PythonPrint pp(constants, deps); in initJitScriptBindings()
1566 PythonPrint pp(constants, deps); in initJitScriptBindings()
1580 PythonPrint pp(constants, deps); in initJitScriptBindings()