Home
last modified time | relevance | path

Searched refs:end_index (Results 1 – 25 of 75) sorted by relevance

123

/external/tensorflow/tensorflow/python/keras/preprocessing/
Dtimeseries.py40 end_index=None): argument
149 if end_index:
150 if start_index and end_index <= start_index:
153 (start_index, end_index))
154 if end_index >= len(data):
156 'Got: end_index=%s' % (end_index,))
157 if end_index <= 0:
159 'Got: end_index=%s' % (end_index,))
175 if end_index is None:
176 end_index = len(data)
[all …]
Dtimeseries_test.py123 end_index = start_index + 9 * 2
124 self.assertAllClose(inputs[j], np.arange(start_index, end_index, 2))
144 end_index = start_index + 9
146 np.arange(start_index, end_index))
153 start_index=10, end_index=90)
169 np.arange(10), None, 3, end_index=-1)
172 np.arange(10), None, 3, end_index=11)
/external/autotest/client/cros/audio/
Daudio_quality_measurement.py402 start_index, end_index = length - 1 , 0
409 end_index = max(end_index, right_border + 1)
410 return (start_index, end_index)
413 def noise_detection(start_index, end_index, argument
450 (index < end_index + rate * NEAR_SINE_START_OR_END_SECS)):
486 def delay_detection(start_index, end_index, argument
534 end_time = float(end_index) / rate - APPEND_ZEROS_SECS
535 for index in range(start_index, end_index):
577 def burst_detection(start_index, end_index, argument
620 for index in range(start_index, end_index):
[all …]
Daudio_quality_measurement_unittest.py98 end_index = int(self.delay_end_time[i] * self.rate)
99 for j in range(start_index,end_index):
106 end_index = int(silence_before_playback_end_time * self.rate)
107 for i in range(0, end_index):
134 end_index = int(self.burst_end_time[i] * self.rate)
135 for j in range(start_index, end_index):
145 end_index = int(end_time[i] * self.rate)
146 for j in range(start_index,end_index):
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_loop.cc35 llvm::Value* start_index, llvm::Value* end_index, in ForLoop() argument
41 end_index_(end_index), in ForLoop()
48 absl::string_view prefix, llvm::Value* start_index, llvm::Value* end_index, in EmitForLoop() argument
52 end_index, step, unroll_mode, in EmitForLoop()
179 llvm::Value* end_index, in AddLoop() argument
182 return AddLoop(suffix, start_index, end_index, GetConstantWithIndexType(1), in AddLoop()
187 absl::string_view suffix, llvm::Value* start_index, llvm::Value* end_index, in AddLoop() argument
194 /*prefix=*/name_, suffix, start_index, end_index, stride, unroll_mode, in AddLoop()
212 int64 end_index, in AddLoop() argument
216 CHECK_LE(start_index, end_index); in AddLoop()
[all …]
Dllvm_loop.h85 llvm::Value* end_index, llvm::Value* step, llvm::IRBuilder<>* b,
140 llvm::Value* start_index, llvm::Value* end_index, llvm::Value* step,
198 llvm::Value* end_index, llvm::Value* stride,
205 llvm::Value* end_index,
212 int64 start_index, int64 end_index, int64 stride,
219 int64 start_index, int64 end_index, absl::string_view suffix,
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dstrip_js_comments.py32 end_index = m.end()
37 yield rest[min_index:end_index]
38 rest = rest[end_index:]
/external/libchrome/base/i18n/
Drtl.cc371 size_t end_index = text->length() - 1; in UnadjustStringForLocaleDirection() local
372 char16 end = text->at(end_index); in UnadjustStringForLocaleDirection()
375 --end_index; in UnadjustStringForLocaleDirection()
379 text->substr(begin_index, end_index - begin_index + 1); in UnadjustStringForLocaleDirection()
489 size_t end_index = text.length() - 1; in StripWrappingBidiControlCharacters() local
490 if (text[end_index] == kPopDirectionalFormatting) in StripWrappingBidiControlCharacters()
491 --end_index; in StripWrappingBidiControlCharacters()
492 return text.substr(begin_index, end_index - begin_index + 1); in StripWrappingBidiControlCharacters()
/external/libchrome/base/strings/
Dstring_split.cc143 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() local
144 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT()
145 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT()
146 Piece term = end_index == Piece::npos in SplitStringUsingSubstrT()
148 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
/external/tflite-support/tensorflow_lite_support/examples/task/text/desktop/
DREADME.md44 logit: 1.84847, start_index: 39, end_index: 40
46 logit: 1.2921, start_index: 34, end_index: 40
48 logit: -0.0959535, start_index: 36, end_index: 40
50 logit: -0.498558, start_index: 28, end_index: 40
52 logit: -0.774266, start_index: 37, end_index: 40
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusNameParser.h70 size_t end_index = 0; member
73 Range(size_t begin, size_t end) : begin_index(begin), end_index(end) { in Range()
77 size_t size() const { return end_index - begin_index; } in size()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank_util.c100 state->end_index = 0; // Initialized to zero here, but actually set below. in FilterbankPopulateState()
198 if (frequency > state->end_index) { in FilterbankPopulateState()
199 state->end_index = frequency; in FilterbankPopulateState()
206 if (state->end_index >= spectrum_size) { in FilterbankPopulateState()
Dfilterbank.c24 const int end_index = state->end_index; in FilterbankConvertFftComplexToEnergy() local
28 for (i = state->start_index; i < end_index; ++i) { in FilterbankConvertFftComplexToEnergy()
Dfilterbank_test.cc67 TF_LITE_MICRO_EXPECT_EQ(state.end_index, kEndIndex); in TF_LITE_MICRO_TEST()
166 state.end_index = kEndIndex; in TF_LITE_MICRO_TEST()
176 for (i = state.start_index; i < state.end_index; ++i) { in TF_LITE_MICRO_TEST()
/external/mesa3d/src/mesa/vbo/
Dvbo_primitive_restart.c178 GLuint end_index; in vbo_sw_primitive_restart() local
244 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart()
252 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start; in vbo_sw_primitive_restart()
266 if (sub_end_index >= end_index) { in vbo_sw_primitive_restart()
/external/tflite-support/tensorflow_lite_support/cc/task/text/qa/
Dbert_question_answerer.cc317 for (int end_index = 0; end_index < kPredictAnsNum; end_index++) { in Postprocess() local
319 int end = end_indices[end_index]; in Postprocess()
347 int end_index = token_to_orig_map_[end + kOutputOffset]; in ConvertIndexToString() local
350 orig_tokens_.begin() + end_index + 1, " "); in ConvertIndexToString()
/external/libtextclassifier/native/annotator/duration/
Dduration.cc178 CodepointIndex end_index = kInvalidIndex; in FindDurationStartingAt() local
206 end_index = token.end; in FindDurationStartingAt()
227 end_index = quantity_end_index; in FindDurationStartingAt()
237 end_index = quantity_end_index; in FindDurationStartingAt()
250 context, {start_index, end_index}); in FindDurationStartingAt()
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/
Dbert_question_answerer.md135 logit: 1.84847, start_index: 39, end_index: 40
137 logit: 1.2921, start_index: 34, end_index: 40
139 logit: -0.0959535, start_index: 36, end_index: 40
141 logit: -0.498558, start_index: 28, end_index: 40
143 logit: -0.774266, start_index: 37, end_index: 40
/external/tensorflow/tensorflow/core/data/service/
Dtask_runner_test.cc54 Status RunConsumer(int64 consumer_index, int64 start_index, int64 end_index, in RunConsumer() argument
56 for (int64 next_index = start_index; next_index < end_index; ++next_index) { in RunConsumer()
155 int64 end_index = 15; in TEST() local
176 Status s = RunConsumer(consumer, starting_rounds[consumer], end_index, in TEST()
/external/ply/ply/ply/
Dygen.py22 for end_index, line in srclines:
26 return (start_index + 1, end_index)
/external/python/pycparser/pycparser/ply/
Dygen.py22 for end_index, line in srclines:
26 return (start_index + 1, end_index)
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstrided_slice_op.cc145 xla::XlaOp begin_index, end_index; in EmitDynamicSlice() local
172 end_index = dim_size; in EmitDynamicSlice()
174 end_index = xla::Slice(ctx->Input("end"), {sparse_index}, in EmitDynamicSlice()
176 end_index = xla::Reshape(end_index, {}); in EmitDynamicSlice()
177 auto index_negative = xla::Lt(end_index, zero); in EmitDynamicSlice()
178 auto wrapped_index = xla::Add(dim_size, end_index); in EmitDynamicSlice()
179 end_index = xla::Select(index_negative, wrapped_index, end_index); in EmitDynamicSlice()
182 xla::Max(xla::Sub(end_index, begin_index), zero)); in EmitDynamicSlice()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dparallel_loop_emitter.cc58 llvm::Value* end_index = (*dynamic_loop_bounds_)[bounds_index].second; in EmitIndexAndSetExitBasicBlock() local
62 end_index); in EmitIndexAndSetExitBasicBlock()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc159 Py_ssize_t end_index = index; in Insert() local
160 if (end_index < 0) end_index += length; in Insert()
161 if (end_index < 0) end_index = 0; in Insert()
162 for (Py_ssize_t i = length; i > end_index; i --) { in Insert()
/external/libchrome/base/json/
Djson_parser.cc623 int end_index = start_index; in ConsumeNumber() local
632 end_index = index_; in ConsumeNumber()
641 end_index = index_; in ConsumeNumber()
655 end_index = index_; in ConsumeNumber()
677 StringPiece num_string(num_start, end_index - start_index); in ConsumeNumber()

123