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

Method is_var

python/paddle/base/framework.py:5215–5222  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

5213 return self.node.is_op()
5214
5215 def is_var(self):
5216 """
5217 If the node is a variable, then return true.
5218
5219 Returns:
5220 bool: indicate whether the node is a variable.
5221 """
5222 return self.node.is_var()
5223
5224 def is_ctrl_var(self):
5225 """

Calls

no outgoing calls

Tested by

no test coverage detected