/external/ceres-solver/internal/ceres/ |
D | program_evaluator.h | 104 void operator()(SparseMatrix* jacobian, int num_parameters) {} in operator() 256 const int num_parameters = program_->NumEffectiveParameters(); in Evaluate() local 261 VectorRef(gradient, num_parameters).setZero(); in Evaluate() 266 VectorRef(gradient, num_parameters) += in Evaluate() 267 VectorRef(evaluate_scratch_[i].gradient.get(), num_parameters); in Evaluate() 277 f(jacobian, num_parameters); in Evaluate() 314 int num_parameters) { in Init() 317 gradient.reset(new double[num_parameters]); in Init() 318 VectorRef(gradient.get(), num_parameters).setZero(); in Init() 355 int num_parameters = program.NumEffectiveParameters(); in CreateEvaluatorScratch() local [all …]
|
D | levenberg_marquardt_strategy.cc | 74 const int num_parameters = jacobian->num_cols(); in ComputeStep() local 76 if (diagonal_.rows() != num_parameters) { in ComputeStep() 77 diagonal_.resize(num_parameters, 1); in ComputeStep() 81 for (int i = 0; i < num_parameters; ++i) { in ComputeStep() 101 InvalidateArray(num_parameters, step); in ComputeStep() 112 !IsArrayValid(num_parameters, step)) { in ComputeStep() 116 VectorRef(step, num_parameters) *= -1.0; in ComputeStep()
|
D | line_search_direction.cc | 101 LBFGS(const int num_parameters, in LBFGS() argument 104 : low_rank_inverse_hessian_(num_parameters, in LBFGS() 147 BFGS(const int num_parameters, in BFGS() argument 149 : num_parameters_(num_parameters), in BFGS() 161 inverse_hessian_ = Matrix::Identity(num_parameters, num_parameters); in BFGS() 356 options.num_parameters, in Create() 363 options.num_parameters, in Create()
|
D | cost_function_to_functor_test.cc | 52 int num_parameters = 0; in ExpectCostFunctionsAreEqual() local 55 num_parameters += parameter_block_sizes[i]; in ExpectCostFunctionsAreEqual() 58 scoped_array<double> parameters(new double[num_parameters]); in ExpectCostFunctionsAreEqual() 59 for (int i = 0; i < num_parameters; ++i) { in ExpectCostFunctionsAreEqual() 64 scoped_array<double> jacobians(new double[num_parameters * num_residuals]); in ExpectCostFunctionsAreEqual() 68 (new double[num_parameters * num_residuals]); in ExpectCostFunctionsAreEqual() 77 num_parameters = 0; in ExpectCostFunctionsAreEqual() 79 parameter_blocks[i] = parameters.get() + num_parameters; in ExpectCostFunctionsAreEqual() 80 jacobian_blocks[i] = jacobians.get() + num_parameters * num_residuals; in ExpectCostFunctionsAreEqual() 82 actual_jacobians.get() + num_parameters * num_residuals; in ExpectCostFunctionsAreEqual() [all …]
|
D | low_rank_inverse_hessian.cc | 76 int num_parameters, in LowRankInverseHessian() argument 79 : num_parameters_(num_parameters), in LowRankInverseHessian() 83 delta_x_history_(num_parameters, max_num_corrections), in LowRankInverseHessian() 84 delta_gradient_history_(num_parameters, max_num_corrections), in LowRankInverseHessian()
|
D | program.cc | 445 int num_parameters = 0; in NumParameters() local 447 num_parameters += parameter_blocks_[i]->Size(); in NumParameters() 449 return num_parameters; in NumParameters() 453 int num_parameters = 0; in NumEffectiveParameters() local 455 num_parameters += parameter_blocks_[i]->LocalSize(); in NumEffectiveParameters() 457 return num_parameters; in NumEffectiveParameters() 476 int num_parameters = residual_block->NumParameterBlocks(); in MaxDerivativesPerResidualBlock() local 477 for (int j = 0; j < num_parameters; ++j) { in MaxDerivativesPerResidualBlock()
|
D | dynamic_compressed_row_finalizer.h | 41 void operator()(SparseMatrix* base_jacobian, int num_parameters) { in operator() 44 jacobian->Finalize(num_parameters); in operator()
|
D | line_search_direction.h | 45 : num_parameters(0), in Options() 53 int num_parameters; member
|
D | line_search_minimizer.cc | 107 const int num_parameters = evaluator->NumParameters(); in Minimize() local 114 VectorRef x(parameters, num_parameters); in Minimize() 116 State current_state(num_parameters, num_effective_parameters); in Minimize() 117 State previous_state(num_parameters, num_effective_parameters); in Minimize() 120 Vector x_plus_delta(num_parameters); in Minimize() 166 line_search_direction_options.num_parameters = num_effective_parameters; in Minimize()
|
D | residual_block.cc | 204 int num_parameters = NumParameterBlocks(); in NumScratchDoublesForEvaluate() local 206 for (int i = 0; i < num_parameters; ++i) { in NumScratchDoublesForEvaluate()
|
D | line_search_minimizer.h | 49 State(int num_parameters, in State()
|
D | low_rank_inverse_hessian.h | 73 LowRankInverseHessian(int num_parameters,
|
D | trust_region_minimizer.cc | 150 const int num_parameters = evaluator->NumParameters(); in Minimize() local 157 Vector x_plus_delta(num_parameters); in Minimize() 162 Vector projected_gradient_step(num_parameters); in Minimize() 178 VectorRef x_min(parameters, num_parameters); in Minimize()
|
D | summary_utils.cc | 51 summary->num_parameters = program.NumParameters(); in SummarizeGivenProgram()
|
/external/mesa3d/src/glsl/ |
D | opt_function_inlining.cpp | 103 int num_parameters; in generate_inline() local 109 num_parameters = 0; in generate_inline() 111 num_parameters++; in generate_inline() 113 parameters = new ir_variable *[num_parameters]; in generate_inline() 121 for (i = 0; i < num_parameters; i++) { in generate_inline() 177 for (i = 0; i < num_parameters; i++) { in generate_inline() 200 for (i = 0; i < num_parameters; i++) { in generate_inline()
|
/external/v8/test/unittests/compiler/ |
D | graph-unittest.cc | 16 GraphTest::GraphTest(int num_parameters) : common_(zone()), graph_(zone()) { in GraphTest() argument 17 graph()->SetStart(graph()->NewNode(common()->Start(num_parameters))); in GraphTest() 103 TypedGraphTest::TypedGraphTest(int num_parameters) in TypedGraphTest() argument 104 : GraphTest(num_parameters), typer_(isolate(), graph()) {} in TypedGraphTest()
|
D | graph-unittest.h | 29 explicit GraphTest(int num_parameters = 1); 67 explicit TypedGraphTest(int num_parameters = 1);
|
D | simplified-operator-reducer-unittest.cc | 25 explicit SimplifiedOperatorReducerTest(int num_parameters = 1) in SimplifiedOperatorReducerTest() argument 26 : TypedGraphTest(num_parameters), simplified_(zone()) {} in SimplifiedOperatorReducerTest() 51 explicit SimplifiedOperatorReducerTestWithParam(int num_parameters = 1) in SimplifiedOperatorReducerTestWithParam() argument 52 : SimplifiedOperatorReducerTest(num_parameters) {} in SimplifiedOperatorReducerTestWithParam()
|
D | control-flow-optimizer-unittest.cc | 22 explicit ControlFlowOptimizerTest(int num_parameters = 3) in ControlFlowOptimizerTest() argument 23 : GraphTest(num_parameters), machine_(zone()), javascript_(zone()) {} in ControlFlowOptimizerTest()
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
D | gmock_class.py | 85 num_parameters = len(node.parameters) 90 num_parameters = 0 91 mock_method_macro = 'MOCK_%sMETHOD%d' % (const, num_parameters)
|
/external/ceres-solver/examples/ |
D | nist.cc | 238 int num_parameters() const { return initial_parameters_.cols(); } in num_parameters() function in ceres::examples::NISTProblem 406 template <typename Model, int num_residuals, int num_parameters> 411 CHECK_EQ(num_parameters, nist_problem.num_parameters()); in RegressionDriver() 428 new ceres::AutoDiffCostFunction<Model, num_residuals, num_parameters>( in RegressionDriver() 443 for (int i = 0; i < num_parameters; ++i) { in RegressionDriver()
|
D | more_garbow_hillstrom.cc | 65 #define BEGIN_MGH_PROBLEM(name, num_parameters, num_residuals) \ argument 67 static const int kNumParameters = num_parameters; \ 76 num_parameters>(new name); \
|
D | bal_problem.h | 72 int num_parameters() const { return num_parameters_; } in num_parameters() function
|
/external/ceres-solver/include/ceres/ |
D | dynamic_autodiff_cost_function.h | 118 const int num_parameters = std::accumulate(parameter_block_sizes().begin(), in Evaluate() local 123 vector<Jet<double, Stride> > input_jets(num_parameters); in Evaluate()
|
/external/v8/src/crankshaft/ |
D | lithium.h | 256 static bool TooManyParameters(int num_parameters) { in TooManyParameters() argument 258 return num_parameters + 1 > parameter_limit; in TooManyParameters() 261 static bool TooManyParametersOrStackSlots(int num_parameters, in TooManyParametersOrStackSlots() argument 264 return num_parameters + 1 + num_stack_slots > locals_limit; in TooManyParametersOrStackSlots()
|