Home
last modified time | relevance | path

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

123456789

/external/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
76 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout()
104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
109 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
119 spvValidatorOptionsSetRelaxLogicalPointer(options_, val); in SetRelaxLogicalPointer()
[all …]
/external/angle/third_party/spirv-tools/src/include/spirv-tools/
Dlibspirv.hpp73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
76 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout()
104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
109 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
119 spvValidatorOptionsSetRelaxLogicalPointer(options_, val); in SetRelaxLogicalPointer()
[all …]
/external/deqp-deps/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
76 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout()
104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
109 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
119 spvValidatorOptionsSetRelaxLogicalPointer(options_, val); in SetRelaxLogicalPointer()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer_test_utils.h72 optimizer->options_.combine_add_to_addn = false; in DisableAddToAddNCombining()
77 optimizer->options_.combine_add_to_addn = true; in EnableOnlyAddToAddNCombining()
82 optimizer->options_.fold_conjugate_into_transpose = true; in EnableOnlyFoldConjugateIntoTranspose()
87 optimizer->options_.fold_multiply_into_conv = true; in EnableOnlyFoldMultipleIntoConv()
92 optimizer->options_.fold_transpose_into_matmul = true; in EnableOnlyFoldTransposeIntoMatMul()
97 optimizer->options_.hoist_common_factor_out_of_aggregation = true; in EnableOnlyHoistCommonFactor()
102 optimizer->options_.minimize_broadcasts = true; in EnableOnlyMinimizeBroadcasts()
107 optimizer->options_.remove_identity_transpose = true; in EnableOnlyRemoveIdentityTranspose()
112 optimizer->options_.remove_involution = true; in EnableOnlyRemoveInvolution()
117 optimizer->options_.remove_redundant_bitcast = true; in EnableOnlyRemoveRedundantBitcast()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc95 : file_(file), options_(options), scc_analyzer_(options) { in FileGenerator()
99 variables_["tablename"] = UniqueName("TableStruct", file_, options_); in FileGenerator()
101 UniqueName("file_level_metadata", file_, options_); in FileGenerator()
102 variables_["desc_table"] = DescriptorTableName(file_, options_); in FileGenerator()
104 UniqueName("file_level_enum_descriptors", file_, options_); in FileGenerator()
106 UniqueName("file_level_service_descriptors", file_, options_); in FileGenerator()
128 if (HasGenericServices(file_, options_)) { in FileGenerator()
187 format("#define $1$$ dllexport_decl$\n", FileDllExport(file_, options_)); in GenerateHeader()
204 NamespaceOpener ns(Namespace(file_, options_), format); in GenerateHeader()
248 if (!options_.proto_h) { in GenerateProtoHeader()
[all …]
Dcpp_string_field.cc153 EffectiveStringCType(descriptor_, options_); in GenerateAccessorDeclarations()
169 if (!options_.opensource_runtime) { in GenerateAccessorDeclarations()
183 if (options_.opensource_runtime) { in GenerateAccessorDeclarations()
235 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions()
289 if (options_.opensource_runtime) { in GenerateInlineAccessorDefinitions()
337 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions()
581 if (!options_.opensource_runtime && !inlined_ && in GenerateMergeFromCodedStream()
605 descriptor_, options_, true, in GenerateMergeFromCodedStream()
612 return !lite_ && !inlined_ && !options_.opensource_runtime; in MergeFromCodedStreamNeedsArena()
620 descriptor_, options_, false, in GenerateSerializeWithCachedSizes()
[all …]
Dcpp_message.cc612 options_(options), in MessageGenerator()
626 SccInfoSymbol(scc_analyzer_->GetSCC(descriptor_), options_); in MessageGenerator()
628 variables_["superclass"] = SuperClassName(descriptor_, options_); in MessageGenerator()
633 if (IsWeak(field, options_)) { in MessageGenerator()
640 message_layout_helper_->OptimizeLayout(&optimized_order_, options_); in MessageGenerator()
663 table_driven_ = TableDrivenParsingEnabled(descriptor_, options_); in MessageGenerator()
686 new EnumGenerator(descriptor_->enum_type(i), variables_, options_)); in AddGenerators()
691 new ExtensionGenerator(descriptor_->extension(i), options_)); in AddGenerators()
723 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDeclarations()
735 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDeclarations()
[all …]
Dcpp_extension.cc63 : descriptor_(descriptor), options_(options) { in ExtensionGenerator()
87 type_traits_.append(PrimitiveTypeName(options_, descriptor_->cpp_type())); in ExtensionGenerator()
124 if (!options_.dllexport_decl.empty()) { in GenerateDeclaration()
125 qualifier = options_.dllexport_decl + " " + qualifier; in GenerateDeclaration()
144 if (options_.lite_implicit_weak_fields && in GenerateDefinition()
161 DefaultValue(options_, descriptor_)); in GenerateDefinition()
163 default_str = DefaultValue(options_, descriptor_); in GenerateDefinition()
Dcpp_enum.cc78 options_(options), in EnumGenerator()
109 DeprecatedAttribute(options_, in GenerateDefinition()
153 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition()
161 if (!HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition()
172 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition()
182 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition()
202 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateGetEnumDescriptorSpecializations()
217 options_, descriptor_->value(j)->options().deprecated()); in GenerateSymbolImports()
241 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateSymbolImports()
266 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateMethods()
[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 __anon557418af0202()
50 RunLoop(options_.env->NowMicros()); in __anon557418af0202()
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/native/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()
126 if (options_.extract_selection_mask_feature) { in ExtractDenseFeatures()
130 if (options_.unicode_aware_features) { in ExtractDenseFeatures()
161 if (options_.allowed_chargrams.empty()) { in HashToken()
162 return tc3farmhash::Fingerprint64(token) % options_.num_buckets; in HashToken()
172 } else if (options_.allowed_chargrams.find(token_string) == in HashToken()
173 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/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_validation_state_test.cpp189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_validation_state_test.cpp189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
/external/angle/third_party/spirv-tools/src/test/val/
Dval_validation_state_test.cpp189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); 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/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/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dcompiler.cc96 : node_shader_(*node_shader), gpu_info_(*gpu_info), options_(options) { in CompilerImpl()
97 if (options_.preferred_obj_type == ObjectType::UNKNOWN) { in CompilerImpl()
98 options_.preferred_obj_type = ChooseFastestObjectType(*gpu_info); in CompilerImpl()
100 if (options_.ref_obj_type == ObjectType::UNKNOWN) { in CompilerImpl()
101 options_.ref_obj_type = ChooseFastestRefObjectType(*gpu_info, options); in CompilerImpl()
113 if (options_.dynamic_batch) { in Compile()
124 {&compiled_graph_, &gpu_info_, node, options_}, &attr.code)); in Compile()
129 if (options_.fuse_operations) { in Compile()
138 if (options_.auto_input_fusion) { in Compile()
162 } else if (options_.allow_precision_loss) { in Compile()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dgpu_api_delegate.cc77 options_ = *options; in Delegate()
80 options_.compile_options.precision_loss_allowed = 0; in Delegate()
81 options_.compile_options.inference_priority = TfLiteGpuInferencePriority:: in Delegate()
83 options_.egl_display = eglGetCurrentDisplay(); in Delegate()
84 options_.egl_context = eglGetCurrentContext(); in Delegate()
85 options_.serialized_binary_cache_data = nullptr; in Delegate()
86 options_.serialized_binary_cache_size = 0; in Delegate()
105 env_options.egl_context = options_.egl_context; in Prepare()
106 env_options.egl_display = options_.egl_display; in Prepare()
108 options_.serialized_binary_cache_data, in Prepare()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs125 options_ = other.options_.Clone(); in Type()
180 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new … field in Google.Protobuf.WellKnownTypes.Type
186 get { return options_; }
233 if(!options_.Equals(other.options_)) return false; in Equals()
245 hash ^= options_.GetHashCode(); in GetHashCode()
267 options_.WriteTo(output, _repeated_options_codec); in WriteTo()
289 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize()
312 options_.Add(other.options_); in MergeFrom()
346 options_.AddEntriesFrom(input, _repeated_options_codec); in MergeFrom()
401 options_ = other.options_.Clone(); in Field()
[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/libtextclassifier/native/annotator/
Dfeature-processor.cc151 SplitContext(context_unicode, options_->use_pipe_character_for_newline()); in StripTokensFromOtherLines()
182 if (options_->default_collection() < 0 || in GetDefaultCollection()
183 options_->collections() == nullptr || in GetDefaultCollection()
184 options_->default_collection() >= options_->collections()->size()) { in GetDefaultCollection()
189 return (*options_->collections())[options_->default_collection()]->str(); in GetDefaultCollection()
215 tokens[options_->context_size() - result_begin_token_index]; in LabelToSpan()
219 tokens[options_->context_size() + result_end_token_index]; in LabelToSpan()
269 options_->context_size(); // Click is always in the middle. in SpanToLabel()
270 const int padding = options_->context_size() - options_->max_selection_span(); in SpanToLabel()
294 if (options_->snap_label_span_boundaries_to_containing_tokens()) { in SpanToLabel()
[all …]

123456789