Home
last modified time | relevance | path

Searched refs:start_i (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dstrided_slice_op.h40 Eigen::DSizes<int, NDIMS> start_i, stop_i, strides_i; in operator() local
42 start_i[i] = start_indices[i]; in operator()
47 To32Bit(input).stridedSlice(start_i, stop_i, strides_i); in operator()
89 Eigen::DSizes<int, NDIMS> start_i, stop_i, strides_i;
91 start_i[i] = start_indices[i];
95 To32Bit(output).stridedSlice(start_i, stop_i, strides_i).device(d) =
114 Eigen::DSizes<int, NDIMS> start_i, stop_i, strides_i;
116 start_i[i] = start_indices[i];
120 To32Bit(output).stridedSlice(start_i, stop_i, strides_i).device(d) =
/external/libtextclassifier/native/actions/
Dngram-model.cc179 for (size_t start_i = 0; start_i < tokens.size(); ++start_i) { in Eval() local
181 GetFirstTokenMatches(tokens[start_i]); in Eval()
189 /*tokens=*/tokens.data() + start_i, in Eval()
190 /*num_tokens=*/tokens.size() - start_i, in Eval()
/external/pdfium/core/fxge/dib/
Dcstretchengine.cpp173 int start_i = floor(std::min(src_start, src_end)); in Calc() local
175 start_i = std::max(start_i, src_min); in Calc()
177 if (start_i > end_i) { in Calc()
178 start_i = std::min(start_i, src_max - 1); in Calc()
179 pixel_weights.m_SrcStart = start_i; in Calc()
180 pixel_weights.m_SrcEnd = start_i; in Calc()
183 pixel_weights.m_SrcStart = start_i; in Calc()
185 for (int j = start_i; j <= end_i; ++j) { in Calc()
197 size_t idx = j - start_i; in Calc()
/external/python/cpython2/Lib/
Dhtmllib.py345 def start_cite(self, attrs): self.start_i(attrs)
351 def start_em(self, attrs): self.start_i(attrs)
363 def start_var(self, attrs): self.start_i(attrs)
368 def start_i(self, attrs): member in HTMLParser
/external/pthreadpool/src/
Dfastpath.c263 size_t start_i = tile_index_i_j.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath() local
269 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
273 start_i += tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
287 const size_t start_i = tile_index_i_j.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath() local
289 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
327 size_t start_i = index.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath() local
331 …task(argument, uarch_index, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_… in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
335 start_i += tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
349 const size_t start_i = tile_index_i_j.quotient * tile_i; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath() local
351 …task(argument, uarch_index, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_… in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
Dportable-api.c239 size_t start_i = tile_index_i_j.quotient * tile_i; in thread_parallelize_2d_tile_2d() local
245 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in thread_parallelize_2d_tile_2d()
249 start_i += tile_i; in thread_parallelize_2d_tile_2d()
264 const size_t start_i = tile_index_i_j.quotient * tile_i; in thread_parallelize_2d_tile_2d() local
266 task(argument, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_j, tile_j)); in thread_parallelize_2d_tile_2d()
298 size_t start_i = index.quotient * tile_i; in thread_parallelize_2d_tile_2d_with_uarch() local
302 …task(argument, uarch_index, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_… in thread_parallelize_2d_tile_2d_with_uarch()
306 start_i += tile_i; in thread_parallelize_2d_tile_2d_with_uarch()
321 const size_t start_i = tile_index_i_j.quotient * tile_i; in thread_parallelize_2d_tile_2d_with_uarch() local
323 …task(argument, uarch_index, start_i, start_j, min(range_i - start_i, tile_i), min(range_j - start_… in thread_parallelize_2d_tile_2d_with_uarch()
/external/pthreadpool/test/
Dpthreadpool.cc717 static void CheckBounds1DTile1D(void*, size_t start_i, size_t tile_i) { in CheckBounds1DTile1D() argument
718 EXPECT_LT(start_i, kParallelize1DTile1DRange); in CheckBounds1DTile1D()
719 EXPECT_LE(start_i + tile_i, kParallelize1DTile1DRange); in CheckBounds1DTile1D()
750 static void CheckTiling1DTile1D(void*, size_t start_i, size_t tile_i) { in CheckTiling1DTile1D() argument
753 EXPECT_EQ(start_i % kParallelize1DTile1DTile, 0); in CheckTiling1DTile1D()
754 EXPECT_EQ(tile_i, std::min<size_t>(kParallelize1DTile1DTile, kParallelize1DTile1DRange - start_i)); in CheckTiling1DTile1D()
785 static void SetTrue1DTile1D(std::atomic_bool* processed_indicators, size_t start_i, size_t tile_i) { in SetTrue1DTile1D() argument
786 for (size_t i = start_i; i < start_i + tile_i; i++) { in SetTrue1DTile1D()
833 static void Increment1DTile1D(std::atomic_int* processed_counters, size_t start_i, size_t tile_i) { in Increment1DTile1D() argument
834 for (size_t i = start_i; i < start_i + tile_i; i++) { in Increment1DTile1D()
[all …]
/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp87 int start_i; in Calc() local
90 start_i = (int)floor((float)src_start); in Calc()
93 start_i = (int)floor((float)src_end); in Calc()
96 start_i = std::max(start_i, 0); in Calc()
98 if (start_i > end_i) { in Calc()
99 pixel_weights.m_SrcStart = start_i; in Calc()
100 pixel_weights.m_SrcEnd = start_i; in Calc()
103 pixel_weights.m_SrcStart = start_i; in Calc()
105 for (int j = start_i; j <= end_i; j++) { in Calc()
123 pixel_weights.m_Weights[j - start_i] = in Calc()
/external/tensorflow/tensorflow/python/lib/io/
Dtf_record_test.py265 start_i = rnd.randint(0, len(_TEXT))
267 repeated_record += _TEXT[start_i:start_i + length]
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py871 device_name, pending_inputs[node], datum.timestamp, start_i=i + 1):
889 def _satisfied_at_timestamp(self, device_name, pending, timestamp, start_i=0): argument
909 for datum in self._dump_tensor_data[device_name][start_i:]:
/external/tensorflow/tensorflow/python/distribute/v1/
Dcross_device_ops_test.py640 start_i, argument
655 idx = i + start_i
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py795 start_i = i
812 parts.append(const_or_orig[start_i:i + 1])