Home
last modified time | relevance | path

Searched refs:begin_it (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/
Dutils.h158 const auto begin_it = name[0] == '^' ? name.begin() + 1 : name.begin(); in NodeNameAsStringPiece() local
159 auto end_it = begin_it; in NodeNameAsStringPiece()
166 return StringPiece(&(*begin_it), std::distance(begin_it, end_it)); in NodeNameAsStringPiece()
185 const auto begin_it = is_ctrl ? name.begin() + 1 : name.begin(); in ParseNodeNameAsStringPiece() local
187 auto end_it = begin_it; in ParseNodeNameAsStringPiece()
191 const StringPiece node_name(&(*begin_it), std::distance(begin_it, end_it)); in ParseNodeNameAsStringPiece()
/external/libtextclassifier/annotator/
Dstrip-unpaired-brackets.cc31 auto begin_it = context_unicode.begin(); in IsCodepointInSpan() local
32 std::advance(begin_it, span.first); in IsCodepointInSpan()
36 return std::find(begin_it, end_it, codepoint) != end_it; in IsCodepointInSpan()
/external/perfetto/src/trace_processor/
Dtrace_storage.cc31 void MaybeUpdateMinMax(T begin_it, in MaybeUpdateMinMax() argument
35 if (begin_it == end_it) { in MaybeUpdateMinMax()
38 std::pair<T, T> minmax = std::minmax_element(begin_it, end_it); in MaybeUpdateMinMax()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtest_util.h77 void FillRandom(typename std::vector<T>::iterator begin_it, in FillRandom() argument
81 std::generate(begin_it, end_it, gen); in FillRandom()
/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine.cpp422 auto* begin_it = std::begin(m_Stack) + m_StackCount - n; in DoOperator() local
423 auto* middle_it = begin_it - j; in DoOperator()
425 std::rotate(begin_it, middle_it, end_it); in DoOperator()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc459 auto begin_it = tuple_elements_.begin() + sharding_index; in GetSubSharding() local
461 begin_it, begin_it + ShapeUtil::GetLeafCount(*sub_shape)); in GetSubSharding()