Home
last modified time | relevance | path

Searched refs:parameter_block_sizes (Results 1 – 20 of 20) sorted by relevance

/external/ceres-solver/include/ceres/
Dcost_function_to_functor.h130 const vector<int32>& parameter_block_sizes = in CostFunctionToFunctor() local
131 cost_function->parameter_block_sizes(); in CostFunctionToFunctor()
135 CHECK_EQ(parameter_block_sizes.size(), num_parameter_blocks); in CostFunctionToFunctor()
137 CHECK_EQ(N0, parameter_block_sizes[0]); in CostFunctionToFunctor()
138 if (parameter_block_sizes.size() > 1) CHECK_EQ(N1, parameter_block_sizes[1]); // NOLINT in CostFunctionToFunctor()
139 if (parameter_block_sizes.size() > 2) CHECK_EQ(N2, parameter_block_sizes[2]); // NOLINT in CostFunctionToFunctor()
140 if (parameter_block_sizes.size() > 3) CHECK_EQ(N3, parameter_block_sizes[3]); // NOLINT in CostFunctionToFunctor()
141 if (parameter_block_sizes.size() > 4) CHECK_EQ(N4, parameter_block_sizes[4]); // NOLINT in CostFunctionToFunctor()
142 if (parameter_block_sizes.size() > 5) CHECK_EQ(N5, parameter_block_sizes[5]); // NOLINT in CostFunctionToFunctor()
143 if (parameter_block_sizes.size() > 6) CHECK_EQ(N6, parameter_block_sizes[6]); // NOLINT in CostFunctionToFunctor()
[all …]
Ddynamic_autodiff_cost_function.h117 const int num_parameter_blocks = parameter_block_sizes().size(); in Evaluate()
118 const int num_parameters = std::accumulate(parameter_block_sizes().begin(), in Evaluate()
119 parameter_block_sizes().end(), in Evaluate()
142 const int parameter_block_size = parameter_block_sizes()[i]; in Evaluate()
192 for (int j = 0; j < parameter_block_sizes()[i]; in Evaluate()
222 for (int j = 0; j < parameter_block_sizes()[i]; in Evaluate()
230 jacobians[i][k * parameter_block_sizes()[i] + j] = in Evaluate()
Dcost_function.h119 const vector<int32>& parameter_block_sizes() const { in parameter_block_sizes() function
Dc_api.h133 int* parameter_block_sizes,
Dgradient_checker.h122 const vector<int32>& block_sizes = term->parameter_block_sizes(); in Probe()
Ddynamic_numeric_diff_cost_function.h107 const vector<int32>& block_sizes = parameter_block_sizes(); in Evaluate()
/external/ceres-solver/internal/ceres/
Dconditioned_cost_function.cc56 wrapped_cost_function_->parameter_block_sizes(); in ConditionedCostFunction()
63 CHECK_EQ(1, conditioners[i]->parameter_block_sizes().size()); in ConditionedCostFunction()
64 CHECK_EQ(1, conditioners[i]->parameter_block_sizes()[0]); in ConditionedCostFunction()
114 i < wrapped_cost_function_->parameter_block_sizes().size(); in Evaluate()
118 wrapped_cost_function_->parameter_block_sizes()[i]; in Evaluate()
Dcost_function_to_functor_test.cc45 const vector<int32>& parameter_block_sizes = in ExpectCostFunctionsAreEqual() local
46 cost_function.parameter_block_sizes(); in ExpectCostFunctionsAreEqual()
48 actual_cost_function.parameter_block_sizes(); in ExpectCostFunctionsAreEqual()
49 EXPECT_EQ(parameter_block_sizes.size(), in ExpectCostFunctionsAreEqual()
53 for (int i = 0; i < parameter_block_sizes.size(); ++i) { in ExpectCostFunctionsAreEqual()
54 EXPECT_EQ(parameter_block_sizes[i], actual_parameter_block_sizes[i]); in ExpectCostFunctionsAreEqual()
55 num_parameters += parameter_block_sizes[i]; in ExpectCostFunctionsAreEqual()
71 new double*[parameter_block_sizes.size()]); in ExpectCostFunctionsAreEqual()
73 new double*[parameter_block_sizes.size()]); in ExpectCostFunctionsAreEqual()
75 new double*[parameter_block_sizes.size()]); in ExpectCostFunctionsAreEqual()
[all …]
Dgradient_checking_cost_function.cc96 const vector<int32>& parameter_block_sizes = in GradientCheckingCostFunction() local
97 function->parameter_block_sizes(); in GradientCheckingCostFunction()
98 for (int i = 0; i < parameter_block_sizes.size(); ++i) { in GradientCheckingCostFunction()
99 finite_diff_cost_function->AddParameterBlock(parameter_block_sizes[i]); in GradientCheckingCostFunction()
101 *mutable_parameter_block_sizes() = parameter_block_sizes; in GradientCheckingCostFunction()
120 const vector<int32>& block_sizes = function_->parameter_block_sizes(); in Evaluate()
Dc_api.cc72 int* parameter_block_sizes) in CallbackCostFunction() argument
77 mutable_parameter_block_sizes()->push_back(parameter_block_sizes[i]); in CallbackCostFunction()
149 int* parameter_block_sizes, in ceres_problem_add_residual_block() argument
158 parameter_block_sizes); in ceres_problem_add_residual_block()
Dgradient_checker_test.cc78 for (int u = 0; u < parameter_block_sizes()[j]; ++u) { in Evaluate()
91 for (int u = 0; u < parameter_block_sizes()[j]; ++u) { in Evaluate()
131 for (int u = 0; u < parameter_block_sizes()[j]; ++u) { in Evaluate()
144 for (int u = 0; u < parameter_block_sizes()[j]; ++u) { in Evaluate()
Dnormal_prior.cc54 ConstVectorRef p(parameters[0], parameter_block_sizes()[0]); in Evaluate()
61 MatrixRef(jacobians[0], num_residuals(), parameter_block_sizes()[0]) = A_; in Evaluate()
Dconditioned_cost_function_test.cc100 EXPECT_EQ(difference_cost_function->parameter_block_sizes(), in TEST()
101 conditioned_cost_function.parameter_block_sizes()); in TEST()
Dproblem_impl.cc244 cost_function->parameter_block_sizes().size()); in AddResidualBlock()
247 const vector<int32>& parameter_block_sizes = in AddResidualBlock() local
248 cost_function->parameter_block_sizes(); in AddResidualBlock()
251 CHECK_EQ(parameter_block_sizes.size(), parameter_blocks.size()) in AddResidualBlock()
278 parameter_block_sizes[i]); in AddResidualBlock()
285 CHECK_EQ(cost_function->parameter_block_sizes()[i], in AddResidualBlock()
288 << " of size " << cost_function->parameter_block_sizes()[i] in AddResidualBlock()
Dresidual_block.h117 return cost_function_->parameter_block_sizes().size(); in NumParameterBlocks()
Devaluator_test.cc68 for (int k = 0; k < Base::parameter_block_sizes().size(); ++k) { in Evaluate()
84 Base::parameter_block_sizes()[k]); in Evaluate()
85 for (int j = 0; j < Base::parameter_block_sizes()[k]; ++j) { in Evaluate()
Dresidual_block_test.cc66 parameter_block_sizes()[k]); in Evaluate()
191 parameter_block_sizes()[k]); in Evaluate()
Dgradient_checking_cost_function_test.cc94 for (int u = 0; u < parameter_block_sizes()[j]; ++u) { in Evaluate()
107 for (int u = 0; u < parameter_block_sizes()[j]; ++u) { in Evaluate()
Dresidual_block.cc60 cost_function->parameter_block_sizes().size()]), in ResidualBlock()
/external/ceres-solver/docs/source/
Dmodeling.rst79 const vector<int32>& parameter_block_sizes();
1437 parameter_blocks().size() and parameter_block_sizes().size().