Searched refs:is_seq (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/python/util/ |
D | nest.py | 354 def _packed_nest_with_indices(structure, flat, index, is_seq): argument 376 if is_seq(s): 377 new_index, child = _packed_nest_with_indices(s, flat, index, is_seq) 419 is_seq = is_sequence_or_composite if expand_composites else is_sequence 420 if not is_seq(flat_sequence): 423 if not is_seq(structure): 431 0, is_seq)
|
D | util.cc | 586 int is_seq = is_sequence_helper(nested); in FlattenHelper() local 587 if (is_seq == -1) return false; in FlattenHelper() 588 if (!is_seq) { in FlattenHelper()
|
/external/python/cpython3/Parser/ |
D | asdl.py | 308 is_seq, is_opt = self._parse_optional_field_quantifier() 311 fields.append(Field(typename, id, seq=is_seq, opt=is_opt)) 333 is_seq, is_opt = False, False 335 is_seq = True 340 return is_seq, is_opt
|