Home
last modified time | relevance | path

Searched refs:QN (Results 1 – 25 of 81) sorted by relevance

1234

/external/tensorflow/tensorflow/python/autograph/pyct/
Dqual_names_test.py26 from tensorflow.python.autograph.pyct.qual_names import QN
34 a = QN('a')
35 b = QN('b')
36 a_dot_b = QN(a, attr='b')
37 a_sub_b = QN(a, subscript=b)
43 a = QN('a')
52 a_b = QN(a, attr='b')
62 a = QN('a')
63 b = QN('b')
64 a_sub_b = QN(a, subscript=b)
[all …]
Dqual_names.py57 class QN(object): class
68 if not isinstance(base, QN):
79 if not isinstance(base, QN):
165 return (isinstance(other, QN) and self.qn == other.qn and
170 if isinstance(other, QN):
176 if isinstance(other, QN):
195 ssfs = [n.ssf() if isinstance(n, QN) else n for n in self.qn]
236 anno.setanno(node, anno.Basic.QN, QN(node.id))
241 if anno.hasanno(node.value, anno.Basic.QN):
242 anno.setanno(node, anno.Basic.QN,
[all …]
Dast_util_test.py46 node, {qual_names.QN('a'): qual_names.QN('renamed_a')})
57 node, {qual_names.from_str('b.c'): qual_names.QN('renamed_b_c')})
67 node, {qual_names.from_str('b'): qual_names.QN('renamed_b')})
77 node, {qual_names.from_str('b'): qual_names.QN('renamed_b')})
89 {qual_names.QN('a'): qual_names.QN('b')})
96 {qual_names.QN('f'): qual_names.QN('f1')})
Dast_util.py86 qn = anno.getanno(node, anno.Basic.QN)
101 qn = qual_names.QN(names[i])
118 if anno.hasanno(node, anno.Basic.QN):
124 qn = qual_names.QN(node.name)
Dtemplates_test.py319 replacement = qn.QN(qn.QN('dictionary'), subscript=qn.QN('key'))
Dnaming.py36 if isinstance(s, qual_names.QN):
Danno.py59 QN = 'Qualified name, as it appeared in the code. See qual_names.py.' variable in Basic
Dtemplates.py225 if isinstance(n, qual_names.QN):
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dactivity_test.py34 QN = qual_names.QN variable
61 scope.modified.add(QN('foo'))
65 self.assertWriteOnly(QN('foo'), other)
67 scope.modified.add(QN('bar'))
70 self.assertMissing(QN('bar'), scope)
77 col.add(QN('foo'))
80 col.add(QN('foo'))
81 col.add(QN('bar'))
85 self.assertReadWrite(QN('foo'), scope)
86 self.assertReadWrite(QN('bar'), scope)
[all …]
Dtype_inference_test.py127 if name == qual_names.QN('a'):
128 test_self.assertEqual(type_anno, qual_names.QN('int'))
149 test_self.assertEqual(name, qual_names.QN('a'))
150 test_self.assertEqual(type_anno, qual_names.QN('int'))
153 if name == qual_names.QN('x'):
154 test_self.assertEqual(type_anno, qual_names.QN('float'))
155 elif name == qual_names.QN('y'):
204 test_self.assertEqual(name, qual_names.QN('tc'))
256 test_self.assertEqual(name, qual_names.QN('tc'))
290 test_self.assertEqual(name, qual_names.QN('tc'))
[all …]
Dtype_inference.py209 namespace: Dict[qual_names.QN, Any], argument
210 closure_types: Dict[qual_names.QN, Set[Any]], argument
279 name = anno.getanno(node, anno.Basic.QN)
298 type_name = anno.getanno(node.annotation, anno.Basic.QN, None)
330 self.namespace, self.types_in, anno.Basic.QN.of(node))
362 f_name = qual_names.QN(node.name)
370 self.namespace, self.types_in.types, anno.Basic.QN.of(node.returns))
407 f_name = anno.Basic.QN.of(node.func)
436 if not isinstance(k, qual_names.QN):
Dactivity.py264 if anno.hasanno(node, anno.Basic.QN):
265 qn = anno.getanno(node, anno.Basic.QN)
277 if not anno.hasanno(node, anno.Basic.QN):
279 qn = anno.getanno(node, anno.Basic.QN)
363 qn = qual_names.QN(name)
372 qn = qual_names.QN(name)
428 qn = qual_names.QN(node.name.split('.')[0])
430 qn = qual_names.QN(node.asname)
536 self.scope.modified.add(qual_names.QN(node.name))
537 self.scope.bound.add(qual_names.QN(node.name))
[all …]
Dreaching_definitions.py216 qn = anno.getanno(node, anno.Basic.QN)
/external/tensorflow/tensorflow/python/eager/
Dgradient_input_output_exclusions.py121 if anno.hasanno(node, anno.Basic.QN):
122 qn = anno.getanno(node, anno.Basic.QN)
131 if anno.hasanno(node, anno.Basic.QN):
132 qn = anno.getanno(node, anno.Basic.QN)
136 if anno.hasanno(node.value, anno.Basic.QN):
137 self.complex_reads.add(anno.getanno(node.value, anno.Basic.QN))
138 value_qn = anno.getanno(node.value, anno.Basic.QN, None)
171 if (node.args and anno.getanno(node.args[0], anno.Basic.QN,
214 op_arg_name = anno.getanno(node.args.args[0], anno.Basic.QN)
215 op_inputs_outputs_name = qual_names.QN(op_arg_name, attr=attr_name)
/external/llvm-project/llvm/lib/Demangle/
DMicrosoftDemangle.cpp274 QualifiedNameNode *QN = demangleNameScopeChain(MangledName, NI); in demangleSpecialTableSymbolNode() local
276 STSN->Name = QN; in demangleSpecialTableSymbolNode()
299 QualifiedNameNode *QN = demangleNameScopeChain(MangledName, LSGI); in demangleLocalStaticGuard() local
302 LSGVN->Name = QN; in demangleLocalStaticGuard()
327 QualifiedNameNode *QN = Arena.alloc<QualifiedNameNode>(); in synthesizeQualifiedName() local
328 QN->Components = Arena.alloc<NodeArrayNode>(); in synthesizeQualifiedName()
329 QN->Components->Count = 1; in synthesizeQualifiedName()
330 QN->Components->Nodes = Arena.allocArray<Node *>(1); in synthesizeQualifiedName()
331 QN->Components->Nodes[0] = Identifier; in synthesizeQualifiedName()
332 return QN; in synthesizeQualifiedName()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangle.cpp274 QualifiedNameNode *QN = demangleNameScopeChain(MangledName, NI); in demangleSpecialTableSymbolNode() local
276 STSN->Name = QN; in demangleSpecialTableSymbolNode()
299 QualifiedNameNode *QN = demangleNameScopeChain(MangledName, LSGI); in demangleLocalStaticGuard() local
302 LSGVN->Name = QN; in demangleLocalStaticGuard()
327 QualifiedNameNode *QN = Arena.alloc<QualifiedNameNode>(); in synthesizeQualifiedName() local
328 QN->Components = Arena.alloc<NodeArrayNode>(); in synthesizeQualifiedName()
329 QN->Components->Count = 1; in synthesizeQualifiedName()
330 QN->Components->Nodes = Arena.allocArray<Node *>(1); in synthesizeQualifiedName()
331 QN->Components->Nodes[0] = Identifier; in synthesizeQualifiedName()
332 return QN; in synthesizeQualifiedName()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_gen.py334 QN = qual_names.QN variable
404 name = anno.Basic.QN.of(node.func)
407 if name == QN(QN('ag__'), attr='if_stmt'):
411 qual_names.QN(n.value): {TFRTypes.TENSOR}
416 if name == QN(QN('ag__'), attr='for_stmt'):
418 body_fn_name = str(anno.Basic.QN.of(node.args[2]))
458 if name == QN('range'):
461 if name == QN('len'):
690 if isinstance(prefix, qual_names.QN):
983 arg_name = self._ssa_name(anno.getanno(arg, anno.Basic.QN))
[all …]
/external/tensorflow/tensorflow/python/autograph/converters/
Dlists.py98 if anno.hasanno(target_node, anno.Basic.QN):
99 target_name = anno.getanno(target_node, anno.Basic.QN).ssf()
Dcall_trees.py161 full_name = str(anno.getanno(node.func, anno.Basic.QN, default=''))
/external/clang/test/SemaObjC/
Dincomplete-implementation.m35 @interface QN // expected-error {{Objective-C declarations may only appear in global scope}} category
/external/llvm-project/clang/test/SemaObjC/
Dincomplete-implementation.m42 @interface QN // expected-error {{Objective-C declarations may only appear in global scope}} category
/external/python/cpython3/PC/layout/support/
Dappxmanifest.py398 QN = ET.QName
474 node = ET.SubElement(node, QN(NS["uap4"], "CustomCapability"))
/external/tensorflow/tensorflow/python/autograph/core/
Dconverter.py304 qn = anno.getanno(node, anno.Basic.QN)
/external/ImageMagick/PerlMagick/t/reference/filter/
DColorize.miff15 …������ �$ �#�+)�I>�VF�A8�-$� ����������9)�QN�SR�eZ�dX�[L�]L�QB�2%…
/external/llvm-project/llvm/include/llvm/Demangle/
DMicrosoftDemangle.h158 QualifiedNameNode *QN);

1234