Home
last modified time | relevance | path

Searched refs:ensemble_resource (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dtraining_ops.cc57 BoostedTreesEnsembleResource* ensemble_resource; in Compute() local
59 &ensemble_resource)); in Compute()
60 core::ScopedUnref unref_me(ensemble_resource); in Compute()
61 mutex_lock l(*ensemble_resource->get_mutex()); in Compute()
63 ensemble_resource->set_stamp(ensemble_resource->stamp() + 1); in Compute()
98 UpdateGlobalAttemptsAndRetrieveGrowableTree(ensemble_resource); in Compute()
107 ensemble_resource->GetNumLayersGrown(current_tree) + 1; in Compute()
112 int32 node_id_start = ensemble_resource->GetNumNodes(current_tree); in Compute()
146 ensemble_resource->AddBucketizedSplitNode( in Compute()
151 int32 node_id_end = ensemble_resource->GetNumNodes(current_tree); in Compute()
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dmodel_ops.cc72 boosted_trees::models::DecisionTreeEnsembleResource* ensemble_resource; in Compute() local
74 &ensemble_resource)); in Compute()
75 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute()
76 core::ScopedUnref unref_me(ensemble_resource); in Compute()
80 output_stamp_token_t->scalar<int64>()() = ensemble_resource->stamp(); in Compute()
91 boosted_trees::models::DecisionTreeEnsembleResource* ensemble_resource; in Compute() local
93 &ensemble_resource)); in Compute()
94 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute()
95 core::ScopedUnref unref_me(ensemble_resource); in Compute()
99 output_stamp_token_t->scalar<int64>()() = ensemble_resource->stamp(); in Compute()
[all …]
Dprediction_ops.cc166 DecisionTreeEnsembleResource* ensemble_resource; in Compute() local
169 &ensemble_resource)); in Compute()
171 core::ScopedUnref unref_me(ensemble_resource); in Compute()
173 tf_shared_lock l(*ensemble_resource->get_mutex()); in Compute()
174 DoCompute(context, ensemble_resource, in Compute()
177 DoCompute(context, ensemble_resource, in Compute()
188 DecisionTreeEnsembleResource* ensemble_resource, in DoCompute() argument
252 if (ensemble_resource->decision_tree_ensemble().has_growing_metadata()) { in DoCompute()
255 trees_not_to_drop.insert(ensemble_resource->num_trees() - 1); in DoCompute()
257 const std::vector<float> weights = ensemble_resource->GetTreeWeights(); in DoCompute()
[all …]
Dtraining_ops.cc196 boosted_trees::models::DecisionTreeEnsembleResource* ensemble_resource; in Compute() local
198 &ensemble_resource)); in Compute()
199 core::ScopedUnref unref_me(ensemble_resource); in Compute()
200 mutex_lock l(*ensemble_resource->get_mutex()); in Compute()
209 CHECK(ensemble_resource->is_stamp_valid(stamp_token)); in Compute()
219 ensemble_resource->set_stamp(next_stamp_token); in Compute()
229 RetrieveBias(ensemble_resource, logits_dimension); in Compute()
247 ensemble_resource->LastTreeMetadata()->set_is_finalized(true); in Compute()
259 boosted_trees::models::DecisionTreeEnsembleResource* ensemble_resource, in RetrieveBias() argument
261 const int32 num_trees = ensemble_resource->num_trees(); in RetrieveBias()
[all …]