MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / visit_node

Method visit_node

tensorflow/python/autograph/pyct/cfg.py:181–190  ·  view source on GitHub ↗

Visitor function. Args: node: Node Returns: bool, whether the node should be revisited; subclasses can visit every reachable node exactly once by always returning False

(self, node)

Source from the content-addressed store, hash-verified

179
180 # TODO(mdan): Rename to flow?
181 def visit_node(self, node):
182 """Visitor function.
183
184 Args:
185 node: Node
186 Returns:
187 bool, whether the node should be revisited; subclasses can visit every
188 reachable node exactly once by always returning False
189 """
190 raise NotImplementedError('Subclasses must implement this.')
191
192 def reset(self):
193 self.in_ = {

Callers 1

_visit_internalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected