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

Method is_op

python/paddle/base/framework.py:5206–5213  ·  view source on GitHub ↗

If the node is an operator, then return true. Returns: bool: indicate whether the node is an operator.

(self)

Source from the content-addressed store, hash-verified

5204 return self.node.id()
5205
5206 def is_op(self):
5207 """
5208 If the node is an operator, then return true.
5209
5210 Returns:
5211 bool: indicate whether the node is an operator.
5212 """
5213 return self.node.is_op()
5214
5215 def is_var(self):
5216 """

Calls

no outgoing calls

Tested by

no test coverage detected