Searched refs:hasanno (Results 1 – 17 of 17) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | anno_test.py | 36 self.assertFalse(anno.hasanno(node, 'foo')) 43 self.assertTrue(anno.hasanno(node, 'foo')) 50 self.assertFalse(anno.hasanno(node, 'foo')) 63 self.assertTrue(anno.hasanno(node_2, 'foo')) 64 self.assertFalse(anno.hasanno(node_2, 'bar')) 77 self.assertTrue(anno.hasanno(node, 'spam')) 78 self.assertTrue(anno.hasanno(node, 'ham')) 79 self.assertTrue(anno.hasanno(node, 'eggs')) 80 self.assertFalse(anno.hasanno(node.body[0], 'eggs'))
|
D | anno.py | 47 return hasanno(node, self) 134 def hasanno(node, key, field_name='___pyct_anno'): function 157 if hasanno(from_node, key, field_name=field_name): 177 if hasanno(n, k, field_name):
|
D | transformer.py | 433 if anno.hasanno(node, anno.Basic.SKIP_PROCESSING): 437 if anno.hasanno(node, anno.Basic.ORIGIN): 470 if not anno.hasanno(n, anno.Basic.ORIGIN): 521 if anno.hasanno(node, anno.Basic.SKIP_PROCESSING): 526 if anno.hasanno(node, anno.Basic.ORIGIN):
|
D | qual_names.py | 241 if anno.hasanno(node.value, anno.Basic.QN): 258 if anno.hasanno(s, anno.Basic.QN): 262 if anno.hasanno(node.value, anno.Basic.QN):
|
D | ast_util_test.py | 122 self.assertFalse(anno.hasanno(new_node, 'baz'))
|
D | ast_util.py | 118 if anno.hasanno(node, anno.Basic.QN):
|
D | cfg.py | 212 if anno.hasanno(ast_node, anno.Basic.SKIP_PROCESSING): 876 if anno.hasanno(node, anno.Basic.EXTRA_LOOP_TEST):
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | type_inference_test.py | 101 anno.hasanno(fn_body[0].value.elts[0], anno.Static.TYPES)) 103 anno.hasanno(fn_body[0].value.elts[1], anno.Static.TYPES)) 305 self.assertFalse(anno.hasanno(fn_body[0].value.value, anno.Static.VALUE)) 339 self.assertFalse(anno.hasanno(fn_body[0].value, anno.Static.TYPES)) 340 self.assertFalse(anno.hasanno(fn_body[0].value.value, anno.Static.VALUE)) 341 self.assertFalse(anno.hasanno(fn_body[0].value, anno.Static.VALUE)) 374 self.assertFalse(anno.hasanno(fn_body[0].value.value, anno.Static.VALUE)) 402 self.assertFalse(anno.hasanno(fn_body[0].value, anno.Static.TYPES)) 403 self.assertFalse(anno.hasanno(fn_body[0].value.value, anno.Static.VALUE)) 404 self.assertFalse(anno.hasanno(fn_body[0].value, anno.Static.VALUE)) [all …]
|
D | liveness.py | 53 if anno.hasanno(node.ast_node, anno.Static.SCOPE): 161 assert anno.hasanno(entry_node, anno.Static.LIVE_VARS_IN), (
|
D | activity.py | 264 if anno.hasanno(node, anno.Basic.QN): 277 if not anno.hasanno(node, anno.Basic.QN): 634 if not anno.hasanno(node.body, anno.Static.SCOPE): 677 if anno.hasanno(node, anno.Basic.EXTRA_LOOP_TEST):
|
D | reaching_definitions.py | 130 if anno.hasanno(node.ast_node, anno.Static.SCOPE):
|
/external/tensorflow/tensorflow/python/eager/ |
D | gradient_input_output_exclusions.py | 121 if anno.hasanno(node, anno.Basic.QN): 131 if anno.hasanno(node, anno.Basic.QN): 136 if anno.hasanno(node.value, anno.Basic.QN):
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | call_trees.py | 100 if not anno.hasanno(node, 'function_context_name'): 118 assert anno.hasanno(node, 'function_context_name'), (
|
D | variables.py | 57 if not anno.hasanno(node, anno.Static.ORIG_DEFINITIONS):
|
D | control_flow.py | 110 if not anno.hasanno(node, anno.Basic.DIRECTIVES): 335 if anno.hasanno(node, anno.Basic.EXTRA_LOOP_TEST):
|
D | control_flow_deprecated_py2.py | 175 if not anno.hasanno(node, anno.Basic.DIRECTIVES): 506 if anno.hasanno(node, anno.Basic.EXTRA_LOOP_TEST):
|
D | lists.py | 98 if anno.hasanno(target_node, anno.Basic.QN):
|