Home
last modified time | relevance | path

Searched refs:PythonOp (Results 1 – 18 of 18) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_ir.h12 struct ConcretePythonOp : public PythonOp {
15 ConcretePythonOp(Graph* graph) : PythonOp(graph, ::c10::prim::PythonOp) {} in ConcretePythonOp()
H A Dpython_interpreter.cpp79 prim::PythonOp,
H A Dpython_ir.cpp31 Symbol ConcretePythonOp::Kind = prim::PythonOp;
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/
H A Dinplace_check.cpp7 if (node->kind() == prim::PythonOp && node->hasAttribute(attr::inplace)) { in CheckInplace()
10 std::string("inplace ") + static_cast<PythonOp*>(node)->name() + in CheckInplace()
H A Dlower_graph.cpp82 if (e.n->kind() == prim::PythonOp) { in lower_graph()
H A Dlower_tuples.cpp29 prim::PythonOp,
H A Donnx.cpp625 } else if (k == prim::PythonOp) { in NodeToONNX()
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Doperator.cpp212 prim::ListUnpack, prim::Print, prim::PythonOp, in printerHasSpecialCaseFor()
308 prim::PythonOp, in aliasAnalysisHasSpecialCaseFor()
H A Dgraph_executor.cpp896 if (n->kind() == prim::PythonOp) in mayIntroduceGradient()
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/onnx/pattern_conversion/
H A Dautograd_function_process.cpp14 if (node->kind() == prim::PythonOp) { in convertSubgraphToSubBlock()
/aosp_15_r20/external/pytorch/docs/source/
H A Donnx_torchscript.rst438 .. PythonOp Symbolic
446 .. All autograd ``Function``\ s appear in the TorchScript graph as ``prim::PythonOp`` nodes.
489 .. return _unimplemented("prim::PythonOp", "unknown node kind: " + name)
495 .. . register_custom_op_symbolic("prim::PythonOp", symbolic_python_op, 1)
501 where a function to register ``prim::PythonOp`` as custom symbolic functions is not provided,
/aosp_15_r20/external/pytorch/torch/csrc/jit/ir/
H A Dir.cpp313 if (kind() == prim::PythonOp) { in print()
314 auto* pyOp = static_cast<const ::torch::jit::PythonOp*>(this); in print()
490 case prim::PythonOp: { in lint()
492 auto* value = static_cast<const PythonOp*>(this); in lint()
1163 case prim::PythonOp: in hasSideEffects()
H A Dalias_analysis.cpp695 case prim::PythonOp: in analyzeImpl()
H A Dir.h1582 struct TORCH_API PythonOp : public Node { struct
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/onnx/
H A Dlist_model_parameters.cpp87 if (use.user->kind() == prim::PythonOp) in getParamAttributes()
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A Dinterned_strings.h74 _(prim, PythonOp) \
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Dexport.cpp139 if (node->kind() == prim::PythonOp) { in validateBlock()
142 auto py_node = static_cast<PythonOp*>(node); in validateBlock()
H A Dpython_print.cpp999 case prim::PythonOp: { in printRHS()
1000 auto value = static_cast<const PythonOp*>(node); in printRHS()