Home
last modified time | relevance | path

Searched refs:num_parameters (Results 1 – 25 of 77) sorted by relevance

1234

/external/ceres-solver/internal/ceres/
Dprogram_evaluator.h104 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 …]
Dlevenberg_marquardt_strategy.cc74 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()
Dline_search_direction.cc101 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()
Dcost_function_to_functor_test.cc52 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 …]
Dlow_rank_inverse_hessian.cc76 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()
Dprogram.cc445 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()
Ddynamic_compressed_row_finalizer.h41 void operator()(SparseMatrix* base_jacobian, int num_parameters) { in operator()
44 jacobian->Finalize(num_parameters); in operator()
Dline_search_direction.h45 : num_parameters(0), in Options()
53 int num_parameters; member
Dline_search_minimizer.cc107 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()
Dresidual_block.cc204 int num_parameters = NumParameterBlocks(); in NumScratchDoublesForEvaluate() local
206 for (int i = 0; i < num_parameters; ++i) { in NumScratchDoublesForEvaluate()
Dline_search_minimizer.h49 State(int num_parameters, in State()
Dlow_rank_inverse_hessian.h73 LowRankInverseHessian(int num_parameters,
Dtrust_region_minimizer.cc150 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()
Dsummary_utils.cc51 summary->num_parameters = program.NumParameters(); in SummarizeGivenProgram()
/external/mesa3d/src/glsl/
Dopt_function_inlining.cpp103 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/
Dgraph-unittest.cc16 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()
Dgraph-unittest.h29 explicit GraphTest(int num_parameters = 1);
67 explicit TypedGraphTest(int num_parameters = 1);
Dsimplified-operator-reducer-unittest.cc25 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()
Dcontrol-flow-optimizer-unittest.cc22 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/
Dgmock_class.py85 num_parameters = len(node.parameters)
90 num_parameters = 0
91 mock_method_macro = 'MOCK_%sMETHOD%d' % (const, num_parameters)
/external/ceres-solver/examples/
Dnist.cc238 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()
Dmore_garbow_hillstrom.cc65 #define BEGIN_MGH_PROBLEM(name, num_parameters, num_residuals) \ argument
67 static const int kNumParameters = num_parameters; \
76 num_parameters>(new name); \
Dbal_problem.h72 int num_parameters() const { return num_parameters_; } in num_parameters() function
/external/ceres-solver/include/ceres/
Ddynamic_autodiff_cost_function.h118 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/
Dlithium.h256 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()

1234