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

Method is_ctrl_var

python/paddle/base/framework.py:5224–5231  ·  view source on GitHub ↗

If the node is a control dependence variable, then return true. Returns: bool: indicate whether the node is a control dependence variable.

(self)

Source from the content-addressed store, hash-verified

5222 return self.node.is_var()
5223
5224 def is_ctrl_var(self):
5225 """
5226 If the node is a control dependence variable, then return true.
5227
5228 Returns:
5229 bool: indicate whether the node is a control dependence variable.
5230 """
5231 return self.node.is_ctrl_var()
5232
5233 def clear_inputs(self):
5234 """

Callers 4

_create_new_nodeMethod · 0.80
_remove_ctrl_varsMethod · 0.80
_remove_ctrl_varsFunction · 0.80
drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected