MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / all_op_nodes

Method all_op_nodes

python/paddle/base/framework.py:5650–5654  ·  view source on GitHub ↗

Return all operator nodes included in the graph as a set.

(self)

Source from the content-addressed store, hash-verified

5648 return {IrVarNode(p) for p in persistable_nodes}
5649
5650 def all_op_nodes(self):
5651 """
5652 Return all operator nodes included in the graph as a set.
5653 """
5654 return {IrOpNode(node) for node in self.graph.nodes() if node.is_op()}
5655
5656 def all_sub_graphs(self, for_test=False):
5657 """

Callers 15

_insert_funcMethod · 0.95
drawMethod · 0.95
_predictMethod · 0.95
_predictMethod · 0.95
generate_dot_for_modelFunction · 0.95
create_quant_modelFunction · 0.95
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80

Calls 3

IrOpNodeClass · 0.85
is_opMethod · 0.80
nodesMethod · 0.45

Tested by 1

test_quant_sub_graphsMethod · 0.64