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

Method remove_input_by_id

python/paddle/base/framework.py:5240–5247  ·  view source on GitHub ↗

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

(self, node_id)

Source from the content-addressed store, hash-verified

5238 self.node.clear_inputs()
5239
5240 def remove_input_by_id(self, node_id):
5241 """
5242 Remove a node from inputs by the given node id.
5243
5244 Args:
5245 node_id(int): the given node id.
5246 """
5247 self.node.remove_input(node_id)
5248
5249 def remove_input(self, node):
5250 """

Callers

nothing calls this directly

Calls 1

remove_inputMethod · 0.80

Tested by

no test coverage detected