/external/ceres-solver/include/ceres/ |
D | cost_function_to_functor.h | 130 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 …]
|
D | dynamic_autodiff_cost_function.h | 117 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()
|
D | cost_function.h | 119 const vector<int32>& parameter_block_sizes() const { in parameter_block_sizes() function
|
D | c_api.h | 133 int* parameter_block_sizes,
|
D | gradient_checker.h | 122 const vector<int32>& block_sizes = term->parameter_block_sizes(); in Probe()
|
D | dynamic_numeric_diff_cost_function.h | 107 const vector<int32>& block_sizes = parameter_block_sizes(); in Evaluate()
|
/external/ceres-solver/internal/ceres/ |
D | conditioned_cost_function.cc | 56 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()
|
D | cost_function_to_functor_test.cc | 45 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 …]
|
D | gradient_checking_cost_function.cc | 96 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()
|
D | c_api.cc | 72 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()
|
D | gradient_checker_test.cc | 78 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()
|
D | normal_prior.cc | 54 ConstVectorRef p(parameters[0], parameter_block_sizes()[0]); in Evaluate() 61 MatrixRef(jacobians[0], num_residuals(), parameter_block_sizes()[0]) = A_; in Evaluate()
|
D | conditioned_cost_function_test.cc | 100 EXPECT_EQ(difference_cost_function->parameter_block_sizes(), in TEST() 101 conditioned_cost_function.parameter_block_sizes()); in TEST()
|
D | problem_impl.cc | 244 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()
|
D | residual_block.h | 117 return cost_function_->parameter_block_sizes().size(); in NumParameterBlocks()
|
D | evaluator_test.cc | 68 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()
|
D | residual_block_test.cc | 66 parameter_block_sizes()[k]); in Evaluate() 191 parameter_block_sizes()[k]); in Evaluate()
|
D | gradient_checking_cost_function_test.cc | 94 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()
|
D | residual_block.cc | 60 cost_function->parameter_block_sizes().size()]), in ResidualBlock()
|
/external/ceres-solver/docs/source/ |
D | modeling.rst | 79 const vector<int32>& parameter_block_sizes(); 1437 parameter_blocks().size() and parameter_block_sizes().size().
|