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

Method remove_output_by_id

python/paddle/base/framework.py:5274–5281  ·  view source on GitHub ↗

Remove a node from outputs by the given node id. Args: node_id(int): the given node id.

(self, node_id)

Source from the content-addressed store, hash-verified

5272 self.node.clear_outputs()
5273
5274 def remove_output_by_id(self, node_id):
5275 """
5276 Remove a node from outputs by the given node id.
5277
5278 Args:
5279 node_id(int): the given node id.
5280 """
5281 self.node.remove_output(node_id)
5282
5283 def remove_output(self, node):
5284 """

Callers

nothing calls this directly

Calls 1

remove_outputMethod · 0.80

Tested by

no test coverage detected