Home
last modified time | relevance | path

Searched refs:preserve_annos (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/pyct/
Dast_util.py33 def __init__(self, preserve_annos): argument
35 self.preserve_annos = preserve_annos
57 if self.preserve_annos:
58 for k in self.preserve_annos:
63 def copy_clean(node, preserve_annos=None): argument
76 return CleanCopier(preserve_annos).copy(node)
Dtemplates.py140 new_nodes = ast_util.copy_clean(repl, preserve_annos=self.preserved_annos)
Dast_util_test.py120 new_node = ast_util.copy_clean(node, preserve_annos={'foo'})