Searched refs:residual_blocks_ (Results 1 – 7 of 7) sorted by relevance
57 residual_blocks_(program.residual_blocks_) { in Program()65 return residual_blocks_; in residual_blocks()73 return &residual_blocks_; in mutable_residual_blocks()127 for (int i = 0; i < residual_blocks_.size(); ++i) { in SetParameterOffsetsAndIndex()128 ResidualBlock* residual_block = residual_blocks_[i]; in SetParameterOffsetsAndIndex()146 for (int i = 0; i < residual_blocks_.size(); ++i) { in IsValid()147 const ResidualBlock* residual_block = residual_blocks_[i]; in IsValid()303 for (int i = 0; i < residual_blocks_.size(); ++i) { in RemoveFixedBlocks()304 ResidualBlock* residual_block = residual_blocks_[i]; in RemoveFixedBlocks()319 residual_blocks_[num_active_residual_blocks++] = residual_block; in RemoveFixedBlocks()[all …]
254 CHECK(residual_blocks_.get() == NULL) in EnableResidualBlockDependencies()257 residual_blocks_.reset(new ResidualBlockSet); in EnableResidualBlockDependencies()261 CHECK(residual_blocks_.get() != NULL) in AddResidualBlock()264 residual_blocks_->insert(residual_block); in AddResidualBlock()268 CHECK(residual_blocks_.get() != NULL) in RemoveResidualBlock()271 CHECK(residual_blocks_->find(residual_block) != residual_blocks_->end()) in RemoveResidualBlock()273 residual_blocks_->erase(residual_block); in RemoveResidualBlock()279 return residual_blocks_.get(); in mutable_residual_blocks()374 scoped_ptr<ResidualBlockSet> residual_blocks_; variable
1065 residual_blocks_.push_back( in SetUp()1071 residual_blocks_.push_back( in SetUp()1076 residual_blocks_.push_back( in SetUp()1152 vector<ResidualBlockId> residual_blocks_; member in ceres::internal::ProblemEvaluateTest1215 evaluate_options.residual_blocks = residual_blocks_; in TEST_F()1250 evaluate_options.residual_blocks.push_back(residual_blocks_[0]); in TEST_F()1251 evaluate_options.residual_blocks.push_back(residual_blocks_[2]); in TEST_F()1252 evaluate_options.residual_blocks.push_back(residual_blocks_[1]); in TEST_F()1291 evaluate_options.residual_blocks.push_back(residual_blocks_[0]); in TEST_F()1292 evaluate_options.residual_blocks.push_back(residual_blocks_[2]); in TEST_F()[all …]
99 residual_blocks_.resize(parameter_block_index.size()); in Init()109 residual_blocks_[it->second].push_back(residual_block); in Init()170 *inner_program.mutable_residual_blocks() = residual_blocks_[j]; in Minimize()
88 vector<vector<ResidualBlock*> > residual_blocks_; variable
217 const int num_residual_blocks = program_->residual_blocks_.size(); in ~ProblemImpl()220 for (int i = 0; i < program_->residual_blocks_.size(); ++i) { in ~ProblemImpl()221 DeleteBlock(program_->residual_blocks_[i]); in ~ProblemImpl()298 program_->residual_blocks_.size()); in AddResidualBlock()307 program_->residual_blocks_.push_back(new_residual_block); in AddResidualBlock()
183 vector<ResidualBlock*> residual_blocks_; variable