Home
last modified time | relevance | path

Searched refs:options_ (Results 1 – 25 of 195) sorted by relevance

12345678

/external/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp70 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
71 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
73 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
77 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
81 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
88 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
95 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
100 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
110 spvValidatorOptionsSetRelaxLogicalPointer(options_, val); in SetRelaxLogicalPointer()
114 spv_validator_options options_; member in spvtools::ValidatorOptions
[all …]
/external/deqp-deps/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp70 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
71 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
73 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
77 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
81 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
88 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
95 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
100 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
110 spvValidatorOptionsSetRelaxLogicalPointer(options_, val); in SetRelaxLogicalPointer()
114 spv_validator_options options_; member in spvtools::ValidatorOptions
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer_test_utils.h99 optimizer->options_ = options; in DisableAllStages()
103 optimizer->options_.combine_add_to_addn = false; in DisableAddToAddNCombining()
108 optimizer->options_.combine_add_to_addn = true; in EnableOnlyAddToAddNCombining()
113 optimizer->options_.fold_conjugate_into_transpose = true; in EnableOnlyFoldConjugateIntoTranspose()
118 optimizer->options_.fold_multiply_into_conv = true; in EnableOnlyFoldMultipleIntoConv()
123 optimizer->options_.fold_transpose_into_matmul = true; in EnableOnlyFoldTransposeIntoMatMul()
128 optimizer->options_.hoist_common_factor_out_of_aggregation = true; in EnableOnlyHoistCommonFactor()
133 optimizer->options_.minimize_broadcasts = true; in EnableOnlyMinimizeBroadcasts()
138 optimizer->options_.remove_identity_transpose = true; in EnableOnlyRemoveIdentityTranspose()
143 optimizer->options_.remove_involution = true; in EnableOnlyRemoveInvolution()
[all …]
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dperiodic_function.cc41 options_(options) {
42 thread_.reset(options_.env->StartThread(
43 options_.thread_options, options_.thread_name_prefix, [this]() { in __anon92d06bed0202()
50 RunLoop(options_.env->NowMicros()); in __anon92d06bed0202()
69 if (options_.startup_delay_micros > 0) { in RunLoop()
70 const int64 deadline = start + options_.startup_delay_micros; in RunLoop()
71 options_.env->SleepForMicroseconds(deadline - start); in RunLoop()
76 const int64 begin = options_.env->NowMicros(); in RunLoop()
82 std::max(static_cast<int64>(options_.env->NowMicros()), begin); in RunLoop()
93 options_.env->SleepForMicroseconds(deadline - end); in RunLoop()
Dserial_device_batch_scheduler.h145 Env* env() const { return options_.env; } in env()
147 const Options options_; variable
226 size_t max_task_size() const override { return options_.max_batch_size; } in max_task_size()
230 const QueueOptions options_; variable
309 : options_(options), in SerialDeviceBatchScheduler()
390 options_.full_batch_scheduling_boost_micros * (*best_it)->size() / in ProcessBatches()
395 options_.full_batch_scheduling_boost_micros * (*it)->size() / in ProcessBatches()
415 pending_sum_ += options_.get_pending_on_serial_device(); in ProcessBatches()
416 if (batch_count_ == options_.batches_to_average_over) { in ProcessBatches()
434 std::round(options_.target_pending - avg_pending); in ProcessBatches()
[all …]
Dadaptive_shared_batch_scheduler.h173 Env* GetEnv() const { return options_.env; } in GetEnv()
175 const Options options_; variable
257 size_t max_task_size() const override { return options_.max_batch_size; } in max_task_size()
261 const QueueOptions options_; variable
354 : options_(options), in AdaptiveSharedBatchScheduler()
425 options_.full_batch_scheduling_boost_micros * (*it)->size() / in MaybeScheduleNextBatch()
447 options_.num_batch_threads) { in MaybeScheduleClosedBatch()
486 if (batch_count_ == options_.batches_to_average_over) { in CallbackWrapper()
509 static_cast<double>(options_.num_batch_threads)); in CallbackWrapper()
512 static_cast<double>(options_.min_in_flight_batches_limit)); in CallbackWrapper()
[all …]
/external/libtextclassifier/utils/
Dtoken-feature-extractor.cc74 : options_(options), unilib_(unilib) { in TokenFeatureExtractor()
97 if (options_.unicode_aware_features) { in ExtractCharactergramFeatures()
108 if (options_.extract_case_feature) { in ExtractDenseFeatures()
109 if (options_.unicode_aware_features) { in ExtractDenseFeatures()
127 if (options_.extract_selection_mask_feature) { in ExtractDenseFeatures()
131 if (options_.unicode_aware_features) { in ExtractDenseFeatures()
162 if (options_.allowed_chargrams.empty()) { in HashToken()
163 return tc3farmhash::Fingerprint64(token) % options_.num_buckets; in HashToken()
173 } else if (options_.allowed_chargrams.find(token_string) == in HashToken()
174 options_.allowed_chargrams.end()) { in HashToken()
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dcluster.cc29 options_.config.set_allow_soft_placement(soft_placement_state); in AllowSoftPlacement()
33 for (int i = 0; i < options_.config.session_inter_op_thread_pool_size(); in SetNumInterOpThreads()
35 options_.config.mutable_session_inter_op_thread_pool(i)->set_num_threads( in SetNumInterOpThreads()
41 options_.config.mutable_graph_options()->set_build_cost_model_after( in SetNumWarmupSteps()
47 options_.config.mutable_experimental()->set_executor_type(*executor_type); in SetExecutorType()
51 return options_.config.graph_options().build_cost_model_after(); in NumWarmupSteps()
56 options_.config.mutable_graph_options()->set_build_cost_model(0); in DisableDetailedStats()
59 options_.config.mutable_graph_options()->set_build_cost_model(1); in DisableDetailedStats()
65 return options_.config.graph_options().build_cost_model() != 0; in DetailedStatsEnabled()
70 options_.config.mutable_graph_options()->mutable_optimizer_options(); in DisableOptimizer()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_validation_state_test.cpp187 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
188 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
193 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
194 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
199 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
200 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
205 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
206 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
211 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
212 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
Dval_limits_test.cpp182 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
196 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
288 options_, spv_validator_limit_max_switch_branches, 10u); in TEST_F()
318 options_, spv_validator_limit_max_switch_branches, 10u); in TEST_F()
371 options_, spv_validator_limit_max_function_args, 100u); in TEST_F()
387 options_, spv_validator_limit_max_function_args, 100u); in TEST_F()
446 options_, spv_validator_limit_max_global_variables, 50u); in TEST_F()
465 options_, spv_validator_limit_max_global_variables, 50u); in TEST_F()
501 options_, spv_validator_limit_max_local_variables, num_locals); in TEST_F()
530 options_, spv_validator_limit_max_local_variables, 5000u); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_validation_state_test.cpp187 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
188 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
193 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
194 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
199 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
200 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
205 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
206 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
211 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
212 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
Dval_limits_test.cpp182 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
196 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
288 options_, spv_validator_limit_max_switch_branches, 10u); in TEST_F()
318 options_, spv_validator_limit_max_switch_branches, 10u); in TEST_F()
371 options_, spv_validator_limit_max_function_args, 100u); in TEST_F()
387 options_, spv_validator_limit_max_function_args, 100u); in TEST_F()
446 options_, spv_validator_limit_max_global_variables, 50u); in TEST_F()
465 options_, spv_validator_limit_max_global_variables, 50u); in TEST_F()
501 options_, spv_validator_limit_max_local_variables, num_locals); in TEST_F()
530 options_, spv_validator_limit_max_local_variables, 5000u); in TEST_F()
[all …]
/external/webrtc/webrtc/video/
Doveruse_frame_detector_unittest.cc57 options_.min_process_count = 0; in SetUp()
62 overuse_detector_.reset(new OveruseFrameDetector(clock_.get(), options_, in ReinitializeOveruseDetector()
71 return ((options_.low_encode_usage_threshold_percent + in InitialUsage()
72 options_.high_encode_usage_threshold_percent) / 2.0f) + 0.5; in InitialUsage()
107 CpuOveruseOptions options_; member in webrtc::OveruseFrameDetectorTest
120 TriggerOveruse(options_.high_threshold_consecutive_count); in TEST_F()
126 TriggerOveruse(options_.high_threshold_consecutive_count); in TEST_F()
134 new OveruseFrameDetector(clock_.get(), options_, nullptr, this)); in TEST_F()
136 TriggerOveruse(options_.high_threshold_consecutive_count); in TEST_F()
143 TriggerOveruse(options_.high_threshold_consecutive_count); in TEST_F()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs118 options_ = other.options_.Clone(); in Type()
168 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new … field in Google.Protobuf.WellKnownTypes.Type
173 get { return options_; }
216 if(!options_.Equals(other.options_)) return false; in Equals()
227 hash ^= options_.GetHashCode(); in GetHashCode()
244 options_.WriteTo(output, _repeated_options_codec); in WriteTo()
262 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize()
281 options_.Add(other.options_); in MergeFrom()
313 options_.AddEntriesFrom(input, _repeated_options_codec); in MergeFrom()
363 options_ = other.options_.Clone(); in Field()
[all …]
DApi.cs79 options_ = other.options_.Clone(); in Api()
120 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new … field in Google.Protobuf.WellKnownTypes.Api
125 get { return options_; }
212 if(!options_.Equals(other.options_)) return false; in Equals()
224 hash ^= options_.GetHashCode(); in GetHashCode()
242 options_.WriteTo(output, _repeated_options_codec); in WriteTo()
264 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize()
286 options_.Add(other.options_); in MergeFrom()
318 options_.AddEntriesFrom(input, _repeated_options_codec); in MergeFrom()
374 options_ = other.options_.Clone(); in Method()
[all …]
/external/protobuf/src/google/protobuf/
Darena.cc65 if (options_.initial_block != NULL && options_.initial_block_size > 0) { in Init()
66 GOOGLE_CHECK_GE(options_.initial_block_size, sizeof(Block)) in Init()
70 Block* first_block = reinterpret_cast<Block*>(options_.initial_block); in Init()
71 first_block->size = options_.initial_block_size; in Init()
84 if (options_.on_arena_init != NULL) { in Init()
85 hooks_cookie_ = options_.on_arena_init(this); in Init()
95 if (options_.on_arena_destruction != NULL) { in ~Arena()
96 options_.on_arena_destruction(this, hooks_cookie_, space_allocated); in ~Arena()
111 if (options_.on_arena_reset != NULL) { in ResetInternal()
112 options_.on_arena_reset(this, hooks_cookie_, space_allocated); in ResetInternal()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc62 options_(options), in FileGenerator()
99 if (!options_.proto_h) { in GenerateProtoHeader()
176 FilenameIdentifier(file_->name() + (options_.proto_h ? ".pb.h" : "")); in GeneratePBHeader()
179 if (options_.proto_h) { in GeneratePBHeader()
196 if (!options_.proto_h) { in GeneratePBHeader()
231 if (!options_.proto_h) { in GeneratePBHeader()
247 StripProto(file_->name()) + (options_.proto_h ? ".proto.h" : ".pb.h"); in GenerateSource()
270 if (!UseUnknownFieldSet(file_, options_) && file_->message_type_count() > 0) { in GenerateSource()
275 if (HasDescriptorMethods(file_, options_)) { in GenerateSource()
283 if (options_.proto_h) { in GenerateSource()
[all …]
Dcpp_enum.cc66 options_(options), in EnumGenerator()
74 if (!options_.proto_h) { in FillForwardDeclaration()
84 vars["enumbase"] = classname_ + (options_.proto_h ? " : int" : ""); in GenerateDefinition()
130 if (options_.dllexport_decl.empty()) { in GenerateDefinition()
133 vars["dllexport"] = options_.dllexport_decl + " "; in GenerateDefinition()
147 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition()
172 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateGetEnumDescriptorSpecializations()
186 vars["constexpr"] = options_.proto_h ? "constexpr " : ""; in GenerateSymbolImports()
212 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateSymbolImports()
251 vars["constexpr"] = options_.proto_h ? "constexpr " : ""; in GenerateMethods()
[all …]
/external/webrtc/webrtc/base/
Doptionsfile.cc27 options_.clear(); in Load()
54 options_[key] = value; in Load()
76 for (OptionsMap::const_iterator i = options_.begin(); i != options_.end(); in Save()
134 OptionsMap::const_iterator i = options_.find(option); in GetStringValue()
135 if (i == options_.end()) { in GetStringValue()
149 OptionsMap::const_iterator i = options_.find(option); in GetIntValue()
150 if (i == options_.end()) { in GetIntValue()
163 options_[option] = value; in SetStringValue()
174 return ToString(value, &options_[option]); in SetIntValue()
182 options_.erase(option); in RemoveValue()
/external/libtextclassifier/actions/
Dactions-suggestions_test.cc1067 options_ = model_.feature_processor_options.get(); in EmbeddingTest()
1068 options_->chargram_orders = {1}; in EmbeddingTest()
1069 options_->num_buckets = 1000; in EmbeddingTest()
1070 options_->embedding_size = 1; in EmbeddingTest()
1071 options_->start_token_id = 0; in EmbeddingTest()
1072 options_->end_token_id = 1; in EmbeddingTest()
1073 options_->padding_token_id = 2; in EmbeddingTest()
1074 options_->tokenizer_options.reset(new ActionsTokenizerOptionsT); in EmbeddingTest()
1087 ActionsTokenFeatureProcessorOptionsT* options_; member in libtextclassifier3::__anon21b466f60111::EmbeddingTest
1104 options_->num_buckets)); in TEST_F()
[all …]
/external/libtextclassifier/annotator/
Dfeature-processor.cc181 if (options_->default_collection() < 0 || in GetDefaultCollection()
182 options_->collections() == nullptr || in GetDefaultCollection()
183 options_->default_collection() >= options_->collections()->size()) { in GetDefaultCollection()
188 return (*options_->collections())[options_->default_collection()]->str(); in GetDefaultCollection()
214 tokens[options_->context_size() - result_begin_token_index]; in LabelToSpan()
218 tokens[options_->context_size() + result_end_token_index]; in LabelToSpan()
268 options_->context_size(); // Click is always in the middle. in SpanToLabel()
269 const int padding = options_->context_size() - options_->max_selection_span(); in SpanToLabel()
293 if (options_->snap_label_span_boundaries_to_containing_tokens()) { in SpanToLabel()
434 if (options_->center_token_selection_method() == in FindCenterToken()
[all …]
/external/grpc-grpc/src/core/lib/backoff/
Dbackoff.cc50 : options_(options), in BackOff()
61 std::min(current_backoff_ * options_.multiplier(), in NextAttemptTime()
62 static_cast<double>(options_.max_backoff()))); in NextAttemptTime()
64 &rng_state_, -options_.jitter() * current_backoff_, in NextAttemptTime()
65 options_.jitter() * current_backoff_); in NextAttemptTime()
72 current_backoff_ = options_.initial_backoff(); in Reset()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Doveruse_estimator.cc29 : options_(options), in OveruseEstimator()
31 slope_(options_.initial_slope), in OveruseEstimator()
32 offset_(options_.initial_offset), in OveruseEstimator()
33 prev_offset_(options_.initial_offset), in OveruseEstimator()
36 avg_noise_(options_.initial_avg_noise), in OveruseEstimator()
37 var_noise_(options_.initial_var_noise), in OveruseEstimator()
39 memcpy(E_, options_.initial_e, sizeof(E_)); in OveruseEstimator()
40 memcpy(process_noise_, options_.initial_process_noise, in OveruseEstimator()
/external/v8/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp28 return llvm::make_unique<BlinkGCPluginConsumer>(instance, options_); in CreateASTConsumer()
35 options_.dump_graph = true; in ParseArgs()
37 options_.warn_unneeded_finalizer = true; in ParseArgs()
39 options_.enable_weak_members_in_unmanaged_classes = true; in ParseArgs()
49 BlinkGCPluginOptions options_; member in BlinkGCPluginAction
/external/libchrome/base/threading/
Dsimple_thread.cc20 options_(options), in SimpleThread()
26 DCHECK(!options_.joinable || HasBeenJoined()) in ~SimpleThread()
37 DCHECK(options_.joinable) << "A non-joinable thread can't be joined."; in Join()
51 options_.joinable in StartAsync()
52 ? PlatformThread::CreateWithPriority(options_.stack_size, this, in StartAsync()
53 &thread_, options_.priority) in StartAsync()
55 options_.stack_size, this, options_.priority); in StartAsync()

12345678