Home
last modified time | relevance | path

Searched refs:params_ (Results 1 – 25 of 152) sorted by relevance

1234567

/external/tensorflow/tensorflow/c/
Dwhile_loop_test.cc48 params_.reset(new TF_WhileParams( in Init()
54 params_->name = "test_loop"; in Init()
61 TF_FinishWhile(params_.get(), s_, &outputs_[0]); in ExpectOK()
66 TF_FinishWhile(params_.get(), s_, &outputs_[0]); in ExpectError()
107 TF_Operation* one = ScalarConst(1, params_->cond_graph, s_); in CreateCondGraph()
109 LessThan(params_->cond_inputs[0], {one, 0}, params_->cond_graph, s_); in CreateCondGraph()
111 params_->cond_output = {less_than, 0}; in CreateCondGraph()
129 std::unique_ptr<TF_WhileParams> params_; member in __anonbc36f9730111::CApiWhileLoopTest
141 EXPECT_TRUE(params_->body_graph != nullptr); in TEST_F()
142 EXPECT_TRUE(params_->cond_graph != nullptr); in TEST_F()
[all …]
/external/webrtc/video/
Dvideo_quality_test.cc313 if (!params_.logging.encoded_frame_base_path.empty()) { in CreateVideoDecoder()
317 params_.logging.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; in CreateVideoDecoder()
341 if (!params_.logging.encoded_frame_base_path.empty()) { in CreateVideoEncoder()
346 params_.logging.encoded_frame_base_path + "." + sb.str() + ".send."; in CreateVideoEncoder()
360 SdpVideoFormat(params_.video[0].codec, params_.video[0].sdp_params)) { in CreateVideoEncoder()
361 overshoot_factor = params_.video[0].encoder_overshoot_factor; in CreateVideoEncoder()
362 } else if (format == SdpVideoFormat(params_.video[1].codec, in CreateVideoEncoder()
363 params_.video[1].sdp_params)) { in CreateVideoEncoder()
364 overshoot_factor = params_.video[1].encoder_overshoot_factor; in CreateVideoEncoder()
445 ss << params_.video[0].codec; in GenerateGraphTitle()
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Dcamera.cc98 params_ = std::move(params); in Camera()
109 if (params_->image) { in GetNamespaces()
110 params_->image->GetNamespaces(ns_name_href_map); in GetNamespaces()
112 if (params_->light_estimate) { in GetNamespaces()
113 params_->light_estimate->GetNamespaces(ns_name_href_map); in GetNamespaces()
115 if (params_->pose) { in GetNamespaces()
116 params_->pose->GetNamespaces(ns_name_href_map); in GetNamespaces()
118 if (params_->depth_map) { in GetNamespaces()
119 params_->depth_map->GetNamespaces(ns_name_href_map); in GetNamespaces()
121 if (params_->imaging_model) { in GetNamespaces()
[all …]
Ddevice.cc91 params_ = std::move(params); in Device()
132 const Cameras* Device::GetCameras() const { return params_->cameras.get(); } in GetCameras()
135 return params_->container.get(); in GetContainer()
139 return params_->earth_pose.get(); in GetEarthPose()
142 const Pose* Device::GetPose() const { return params_->pose.get(); } in GetPose()
144 const Planes* Device::GetPlanes() const { return params_->planes.get(); } in GetPlanes()
146 const Profiles* Device::GetProfiles() const { return params_->profiles.get(); } in GetProfiles()
149 return params_->vendor_info.get(); in GetVendorInfo()
152 const AppInfo* Device::GetAppInfo() const { return params_->app_info.get(); } in GetAppInfo()
184 if (params_->cameras == nullptr) { in Serialize()
[all …]
Ddepth_map.cc146 DepthMap::DepthMap(const DepthMapParams& params) : params_(params) {} in DepthMap()
260 depth_map->params_.confidence_uri = ""; in FromData()
279 DepthFormat DepthMap::GetFormat() const { return params_.format; } in GetFormat()
280 float DepthMap::GetNear() const { return params_.near; } in GetNear()
281 float DepthMap::GetFar() const { return params_.far; } in GetFar()
282 DepthUnits DepthMap::GetUnits() const { return params_.units; } in GetUnits()
283 const string DepthMap::GetDepthUri() const { return params_.depth_uri; } in GetDepthUri()
285 return params_.item_semantic; in GetItemSemantic()
288 return params_.confidence_uri; in GetConfidenceUri()
292 return params_.measure_type; in GetMeasureType()
[all …]
Dimaging_model.cc94 : params_(params) {} in ImagingModel()
133 return params_.focal_length; in GetFocalLength()
137 return params_.principal_point; in GetPrincipalPoint()
140 Dimension ImagingModel::GetImageSize() const { return params_.image_size; } in GetImageSize()
142 double ImagingModel::GetSkew() const { return params_.skew; } in GetSkew()
145 return params_.pixel_aspect_ratio; in GetPixelAspectRatio()
149 return params_.distortion; in GetDistortion()
153 return static_cast<int>(floor(params_.distortion.size() / 2)); in GetDistortionCount()
165 std::to_string(params_.focal_length.x)) || in Serialize()
168 std::to_string(params_.focal_length.y)) || in Serialize()
[all …]
Ditem.cc22 Item::Item(const ItemParams& params) : params_(params) {} in Item()
103 const string& Item::GetMime() const { return params_.mime; } in GetMime()
104 unsigned int Item::GetLength() const { return params_.length; } in GetLength()
105 const string& Item::GetDataUri() const { return params_.data_uri; } in GetDataUri()
106 unsigned int Item::GetPadding() const { return params_.padding; } in GetPadding()
108 return params_.payload_to_serialize; in GetPayloadToSerialize()
120 params_.mime) && in Serialize()
122 std::to_string(params_.length)); in Serialize()
123 if (!params_.data_uri.empty()) { in Serialize()
125 params_.data_uri); in Serialize()
[all …]
/external/libgav1/libgav1/src/
Dfilm_grain.cc267 : params_(params), in FilmGrain()
286 const bool use_luma = params_.num_y_points > 0; in Init()
288 GenerateLumaGrain(params_, luma_grain_); in Init()
291 if (params_.auto_regression_coeff_lag > 0) { in Init()
293 .luma_auto_regression[params_.auto_regression_coeff_lag - 1]( in Init()
294 params_, luma_grain_); in Init()
301 GenerateChromaGrains(params_, template_uv_width_, template_uv_height_, in Init()
303 if (params_.auto_regression_coeff_lag > 0 || use_luma) { in Init()
305 use_luma)][params_.auto_regression_coeff_lag]( in Init()
306 params_, luma_grain_, subsampling_x_, subsampling_y_, u_grain_, in Init()
[all …]
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.cc47 BenchmarkModel::BenchmarkModel() : params_(DefaultParams()) {} in BenchmarkModel()
74 "num_runs", &params_, in GetFlags()
77 "min_secs", &params_, in GetFlags()
81 "max_secs", &params_, in GetFlags()
86 CreateFlag<float>("run_delay", &params_, "delay between runs in seconds"), in GetFlags()
88 "run_frequency", &params_, in GetFlags()
93 CreateFlag<int32_t>("num_threads", &params_, "number of threads"), in GetFlags()
95 "use_caching", &params_, in GetFlags()
99 CreateFlag<std::string>("benchmark_name", &params_, "benchmark name"), in GetFlags()
100 CreateFlag<std::string>("output_prefix", &params_, in GetFlags()
[all …]
/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dhexagon_delegate.cc39 : params_(params != nullptr ? *params in HexagonDelegate()
41 if (params_.max_delegated_partitions <= 0) {
42 params_.max_delegated_partitions = kMaxHexagonGraphs;
43 } else if (params_.max_delegated_partitions > kMaxMaxHexagonGraphs) {
47 params_.max_delegated_partitions, kMaxMaxHexagonGraphs);
48 params_.max_delegated_partitions = kMaxMaxHexagonGraphs;
50 if (params_.min_nodes_per_partition <= 0) {
51 params_.min_nodes_per_partition = kMinNodesPerHexagonGraph;
67 return std::make_unique<HexagonDelegateKernel>(params_); in CreateDelegateKernelInterface()
72 options.max_delegated_partitions = params_.max_delegated_partitions; in DelegateOptions()
[all …]
/external/webrtc/logging/rtc_event_log/encoder/
Ddelta_encoding.cc286 const FixedLengthEncodingParameters params_; member in webrtc::__anon7a50db710111::FixedLengthDeltaEncoder
447 : params_(params), base_(base), values_(values) { in FixedLengthDeltaEncoder()
456 if (params_.values_optional()) { in Encode()
466 RTC_DCHECK(params_.values_optional()); in Encode()
492 if (params_.signed_deltas() == kDefaultSignedDeltas && in HeaderLengthBits()
493 params_.values_optional() == kDefaultValuesOptional && in HeaderLengthBits()
494 params_.value_width_bits() == kDefaultValueWidthBits) { in HeaderLengthBits()
505 if (!params_.values_optional()) { in EncodedDeltasLengthBits()
506 return values_.size() * params_.delta_width_bits(); in EncodedDeltasLengthBits()
522 const size_t deltas_size_bits = deltas_count * params_.delta_width_bits(); in EncodedDeltasLengthBits()
[all …]
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_file.cc90 params_(params), in FileGenerator()
100 if (UsesExtensions(file_proto) && !params_.store_unknown_fields()) { in Validate()
108 if (file_->service_count() != 0 && !params_.ignore_services()) { in Validate()
115 if (!IsOuterClassNeeded(params_, file_)) { in Validate()
120 if (!params_.has_java_outer_classname(file_->name()) in Validate()
141 if (params_.java_enum_style()) { in Validate()
188 ExtensionGenerator(file_->extension(i), params_).Generate(printer); in Generate()
193 EnumGenerator(file_->enum_type(i), params_).Generate(printer); in Generate()
197 if (!params_.java_multiple_files(file_->name())) { in Generate()
199 MessageGenerator(file_->message_type(i), params_).Generate(printer); in Generate()
[all …]
Djavanano_message.cc82 : params_(params), in MessageGenerator()
94 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariables()
105 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariableInitializers()
111 if (!params_.store_unknown_fields() && in Generate()
119 params_.java_multiple_files(file_name) in Generate()
137 if (params_.store_unknown_fields() && params_.parcelable_messages()) { in Generate()
141 } else if (params_.store_unknown_fields()) { in Generate()
145 } else if (params_.parcelable_messages()) { in Generate()
152 if (params_.generate_clone()) { in Generate()
159 if (params_.parcelable_messages()) { in Generate()
[all …]
Djavanano_enum_field.cc123 if (params_.generate_intdefs()) { in GenerateMembers()
128 if (params_.generate_has()) { in GenerateMembers()
139 if (params_.generate_has()) { in GenerateClearCode()
153 if (params_.generate_has()) { in GenerateMergingCode()
167 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()
172 if (params_.generate_has()) { in GenerateSerializationCode()
187 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
192 if (params_.generate_has()) { in GenerateSerializedSizeCode()
207 if (params_.use_reference_types_for_primitives() in GenerateEqualsCode()
208 && !params_.reftypes_primitive_enums()) { in GenerateEqualsCode()
[all …]
/external/webrtc/test/pc/e2e/
Dpeer_configurer.h49 params_(std::make_unique<Params>()) {} in PeerConfigurerImpl()
52 params_->name = std::string(name); in SetName()
125 params_->video_configs.push_back(std::move(config)); in AddVideoConfig()
131 params_->video_configs.push_back(std::move(config)); in AddVideoConfig()
139 params_->video_configs.push_back(std::move(config)); in AddVideoConfig()
145 params_->audio_config = std::move(config); in SetAudioConfig()
154 params_->rtc_event_log_path = std::move(path); in SetRtcEventLogPath()
158 params_->aec_dump_path = std::move(path); in SetAecDumpPath()
163 params_->rtc_configuration = std::move(configuration); in SetRTCConfiguration()
168 params_->bitrate_settings = bitrate_settings; in SetBitrateSettings()
[all …]
/external/flatbuffers/src/
Dflatc.cpp51 params_.warn_fn(this, warn, show_exe_name); in Warn()
56 params_.error_fn(this, err, usage, show_exe_name); in Error()
62 for (size_t i = 0; i < params_.num_generators; ++i) { in GetUsageString()
63 const Generator &g = params_.generators[i]; in GetUsageString()
183 if (params_.generators == nullptr || params_.num_generators == 0) { in Compile()
199 std::vector<bool> generator_enabled(params_.num_generators, false); in Compile()
370 for (size_t i = 0; i < params_.num_generators; ++i) { in Compile()
371 if (arg == params_.generators[i].generator_opt_long || in Compile()
372 (params_.generators[i].generator_opt_short && in Compile()
373 arg == params_.generators[i].generator_opt_short)) { in Compile()
[all …]
/external/webrtc/rtc_base/
Dssl_identity.cc114 params_.curve = EC_NIST_P256; in KeyParams()
117 params_.rsa.mod_size = kRsaDefaultModSize; in KeyParams()
118 params_.rsa.pub_exp = kRsaDefaultExponent; in KeyParams()
127 kt.params_.rsa.mod_size = mod_size; in RSA()
128 kt.params_.rsa.pub_exp = pub_exp; in RSA()
135 kt.params_.curve = curve; in ECDSA()
141 return (params_.rsa.mod_size >= kRsaMinModSize && in IsValid()
142 params_.rsa.mod_size <= kRsaMaxModSize && in IsValid()
143 params_.rsa.pub_exp > params_.rsa.mod_size); in IsValid()
145 return (params_.curve == EC_NIST_P256); in IsValid()
[all …]
/external/libaom/libaom/test/
Dsum_squares_test.cc49 params_ = this->GetParam(); in SetUp()
84 TestFuncs params_; member in __anon5d230b380111::SumSquaresTest
103 const uint64_t res_ref = params_.ref_func(src_, stride, width, height); in RunTest()
106 params_.tst_func(src_, stride, width, height)); in RunTest()
131 params_.ref_func(src_, stride, width, height); in RunSpeedTest()
141 params_.tst_func(src_, stride, width, height); in RunSpeedTest()
198 const uint64_t ref_res = params_.ref_func(src, N); in TEST_P()
200 ASM_REGISTER_STATE_CHECK(tst_res = params_.tst_func(src, N)); in TEST_P()
219 const uint64_t ref_res = params_.ref_func(src, N); in TEST_P()
221 ASM_REGISTER_STATE_CHECK(tst_res = params_.tst_func(src, N)); in TEST_P()
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc231 if (IsFastStringHandling(descriptor_, params_)) { in GenerateMembers()
291 if (IsFastStringHandling(descriptor_, params_)) { in GenerateSerializationCode()
306 if (IsFastStringHandling(descriptor_, params_)) { in GenerateSerializedSizeCode()
345 if (IsFastStringHandling(descriptor_, params_)) { in GenerateMembers()
346 if (params_.java_use_vector()) { in GenerateMembers()
407 } else if (params_.java_use_vector()) { in GenerateMembers()
494 if (params_.java_use_vector()) { in GenerateMergingCode()
536 if (params_.java_use_vector()) { in GenerateSerializationCode()
548 if (params_.java_use_vector()) { in GenerateSerializationCode()
549 if (IsFastStringHandling(descriptor_, params_)) { in GenerateSerializationCode()
[all …]
/external/tensorflow/tensorflow/core/framework/
Ddataset.h432 explicit IteratorContext(IteratorContext* ctx) : params_(Params{ctx}) {} in IteratorContext()
434 explicit IteratorContext(OpKernelContext* ctx) : params_(Params{ctx}) {} in IteratorContext()
436 explicit IteratorContext(Params params) : params_(std::move(params)) {} in IteratorContext()
439 return params_.allocator_getter(attrs); in allocator()
443 return params_.allocator_getter; in allocator_getter()
447 return params_.cancellation_manager; in cancellation_manager()
450 Env* env() const { return params_.env; } in env()
452 FunctionLibraryRuntime* flr() { return params_.flr; } in flr()
455 return params_.function_handle_cache; in function_handle_cache()
458 ResourceMgr* resource_mgr() { return params_.resource_mgr; } in resource_mgr()
[all …]
/external/libchrome/ipc/
Dipc_cpu_perftest.cc109 params_ = params; in SetTestParams()
129 cpu_logger_ = std::make_unique<PerfCpuLogger>(GetLogTitle(label_, params_)); in OnHello()
131 frame_count_down_ = params_.frames_per_second * params_.duration_in_seconds; in OnHello()
133 timer_.Start(FROM_HERE, GetFrameTime(params_.frames_per_second), this, in OnHello()
140 for (count_down_ = params_.messages_per_frame; count_down_ > 0; in StartPingPong()
148 GetFrameTime(params_.frames_per_second)) { in StartPingPong()
164 count_down_ = params_.messages_per_frame; in StartPingPong()
194 TestParams params_; member in IPC::__anon4c13cc8a0111::ChannelSteadyPingPongListener
283 params_ = params; in RunPingPongServer()
299 cpu_logger_ = std::make_unique<PerfCpuLogger>(GetLogTitle(label_, params_)); in OnHello()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Ddecoration.h64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
69 std::vector<uint32_t>& params() { return params_; } in params()
70 const std::vector<uint32_t>& params() const { return params_; } in params()
73 return (dec_type_ == rhs.dec_type_ && params_ == rhs.params_ &&
79 std::vector<uint32_t> params_; variable
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Ddecoration.h64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
69 std::vector<uint32_t>& params() { return params_; } in params()
70 const std::vector<uint32_t>& params() const { return params_; } in params()
73 return (dec_type_ == rhs.dec_type_ && params_ == rhs.params_ &&
79 std::vector<uint32_t> params_; variable
/external/deqp-deps/SPIRV-Tools/source/val/
Ddecoration.h64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_()
69 std::vector<uint32_t>& params() { return params_; } in params()
70 const std::vector<uint32_t>& params() const { return params_; } in params()
73 return (dec_type_ == rhs.dec_type_ && params_ == rhs.params_ &&
79 std::vector<uint32_t> params_; variable
/external/tensorflow/tensorflow/lite/tools/
Dtool_params.h101 params_[name] = std::move(value); in AddParam()
105 return params_.find(name) != params_.end(); in HasParam()
108 bool Empty() const { return params_.empty(); } in Empty()
111 const auto& entry = params_.find(name); in GetParam()
112 if (entry == params_.end()) return nullptr; in GetParam()
119 params_.at(name)->AsTyped<T>()->Set(value); in Set()
125 return params_.at(name)->AsConstTyped<T>()->HasValueSet(); in HasValueSet()
131 return params_.at(name)->AsConstTyped<T>()->Get(); in Get()
143 std::unordered_map<std::string, std::unique_ptr<ToolParam>> params_; variable

1234567