Home
last modified time | relevance | path

Searched refs:max_results (Results 1 – 25 of 31) sorted by relevance

12

/external/libtextclassifier/native/lang_id/
Dlang-id.cc127 int max_results) const { in FindLanguages()
130 if (max_results <= 0) { in FindLanguages()
131 max_results = languages_.size(); in FindLanguages()
134 if (!is_valid() || (max_results == 0)) { in FindLanguages()
158 if (max_results == 1) { in FindLanguages()
170 const std::vector<int> indices = GetTopKIndices(max_results, softmax); in FindLanguages()
312 LangIdResult *result, int max_results) const { in FindLanguages()
315 pimpl_->FindLanguages(text, result, max_results); in FindLanguages()
Dlang-id.h87 int max_results = 0) const;
91 int max_results = 0) const {
92 FindLanguages(text.data(), text.size(), result, max_results);
Dlang-id-wrapper.cc68 const int max_results = in GetPredictions() local
74 model->FindLanguages(text, text_size, &langid_result, max_results); in GetPredictions()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/
Dobject_detector.cc230 if (options.max_results() == 0) { in SanityCheckOptions()
458 const int max_results = options_->max_results() > 0 in Postprocess() local
459 ? std::min(options_->max_results(), num_results) in Postprocess()
496 if (results.detections_size() == max_results) { in Postprocess()
Dimage_classifier.cc100 if (options.max_results() == 0) { in SanityCheckOptions()
467 options_->max_results() >= 0 in Postprocess()
469 options_->max_results()) in Postprocess()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannelz_registry.cc211 intptr_t max_results) { in grpc_channelz_get_server_sockets() argument
217 start_socket_id < 0 || max_results < 0) { in grpc_channelz_get_server_sockets()
225 server_node->RenderServerSockets(start_socket_id, max_results).c_str()); in grpc_channelz_get_server_sockets()
Dchannelz.cc279 intptr_t max_results) { in RenderServerSockets() argument
281 GPR_ASSERT(max_results >= 0); in RenderServerSockets()
283 size_t pagination_limit = max_results == 0 ? 500 : max_results; in RenderServerSockets()
Dchannelz.h239 intptr_t max_results);
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/classifier/
Dimage_classifier_jni.cc66 jint max_results = env->CallIntMethod(java_options, max_results_id); in ConvertToProtoOptions() local
67 proto_options.set_max_results(max_results); in ConvertToProtoOptions()
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/detector/
Dobject_detector_jni.cc65 jint max_results = env->CallIntMethod(java_options, max_results_id); in ConvertToProtoOptions() local
66 proto_options.set_max_results(max_results); in ConvertToProtoOptions()
/external/python/google-api-python-client/samples/analytics/
Dhello_analytics_api_v3.py142 max_results='25').execute()
Dcore_reporting_v3_reference.py120 max_results='25')
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/
DREADME.md34 --max_results=3
89 --max_results=2
Dimage_classifier_demo.cc45 ABSL_FLAG(int32, max_results, 5,
Dobject_detector_demo.cc52 ABSL_FLAG(int32, max_results, 5,
/external/icing/icing/result/
Dresult-state.cc61 group_result_limits_.push_back(result_grouping.max_results()); in ResultState()
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/channelz/
Dchannelz_service.cc93 request->server_id(), request->start_socket_id(), request->max_results()); in GetServerSockets()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/proto/
Dimage_classifier_options.proto43 optional int32 max_results = 2 [default = -1]; field
Dobject_detector_options.proto41 optional int32 max_results = 3 [default = -1]; field
/external/rust/crates/grpcio-sys/grpc/include/grpc/
Dgrpc.h530 intptr_t max_results);
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/
Dgrpc.h530 intptr_t max_results);
/external/freetype/src/sfnt/
Dttcmap.c2954 FT_UInt32 max_results; member
2967 cmap->max_results = 0; in tt_cmap14_done()
2978 FT_UInt32 old_max = cmap->max_results; in tt_cmap14_ensure()
2982 if ( num_results > cmap->max_results ) in tt_cmap14_ensure()
2989 cmap->max_results = num_results; in tt_cmap14_ensure()
3004 cmap->max_results = 0; in tt_cmap14_init()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc1672 uint64 max_results, in GetChildrenBounded() argument
1707 if (max_results - retrieved_results < kGetChildrenDefaultPageSize) { in GetChildrenBounded()
1709 strings::StrCat(uri, "&maxResults=", max_results - retrieved_results); in GetChildrenBounded()
1744 if (++retrieved_results >= max_results) { in GetChildrenBounded()
1771 if (++retrieved_results >= max_results) { in GetChildrenBounded()
Dgcs_file_system.h381 Status GetChildrenBounded(const string& dir, uint64 max_results,
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/channelz/
Dchannelz.proto452 int64 max_results = 2; field
477 int64 max_results = 2; field
514 int64 max_results = 3; field

12