Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_inference.py132 def res_list_literal(self, ns, elt_types): argument
260 elt_types = ()
265 elt_types += (types_,)
266 return set(itertools.product(*elt_types))
271 elt_types = tuple(self.visit(elt) for elt in node.elts)
272 return self.resolver.res_list_literal(self.namespace, elt_types)
Dtype_inference_test.py797 def res_list_literal(self, ns, elt_types): argument
799 for s in elt_types:
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_gen.py526 def _coerce_to_more_specific_type(self, elt_types): argument
528 if TFRTypes.INDEX in elt_types:
530 elt_types.discard(TFRTypes.I64)
531 if TFRTypes.TENSOR in elt_types:
533 elt_types.discard(TFRTypes.I64)
535 elt_types.discard(TFRTypes.INDEX)
536 return elt_types
538 def res_list_literal(self, ns, elt_types): argument
540 for t in elt_types:
547 raise ValueError('ambiguous list element types: {}'.format(elt_types))