Caffe source code practice

tags: caffe

REGISTER_LAYER_CLASS(DeforConvolution); // Implementation registers the specified Layer into the global registry

 


 

In base_conv_layer.cpp, various variables and data declarations are made within the LayerSetUp function. It is also initialized here if necessary. (Initialization is free here, but you can also wait until you use it to initialize it..)

Caffe_set can be used in combination, and many caffe functions in src/caffe/util/math_function.cu can be called.

 

The use of smart pointers:

Offset_diff_tmp_.reset(new Blob<Dtype>(off_tmp_shape)); // can be happy new new variable..

 

 

 

Intelligent Recommendation

Caffe source code experience

Foreword: This article is updated from time to time. When there is experience and experience, it will be updated in time. It is mostly about the details and the parts that I don't understand. batchsiz...

CAFFE source code debugging

Article Author: TYAN blog:noahsnail.com  |  CSDN  |  Simple book This document mainly describes how to use Linux GDB debug Caffe's source code, source code debugging is mainly to r...

CAFFE Source Code - Batch_norm_Layer

(I. Introduction Batchform is an indispensable layer in the deep learning network that can act as an accelerated convergence. Since each BATCH data has different distributions, data is normalized in o...

Caffe source code - SoftMaxwithlosslayer

Softmax with Loss Layer Network layer TYPE:SoftmaxWithLoss Doxygen Documentation head File: ./include/caffe/layers/softmax_loss_layer.hpp CPU code:./src/caffe/layers/softmax_loss_layer.cpp CUDA GPU co...

[Caffe] Ubuntu16.04 source code compile and install caffe

Environment: ubuntu 16.04            CUDA 9.0            OpenCV3.4.0            Python 3.6 1. Install NVIDIA g...

More Recommendation

Caffe source code interpretation (1)

Caffe source code interpretation Part1 Basic knowledge inline C++ keyword, in the function declaration or definition, the function return type is preceded by the keyword inline, which can be specified...

C++ details in the Caffe source code

C++ details in the Caffe source code Macro definition Keyword explicit use Macro definition In the macro body, if a macro is preceded by a #, the macro argument will be expanded into a string when the...

caffe source code analysis -Blob

This article analyzes thecaffeSource code analysis -BlobMainly the following aspects: Caffe understand the whole overview of the Blob Blob member variables BlobThe main function of the core is used wi...

caffe source code analysis -SyncedMemory

This article analyzes thecaffeinBlobMemory ManagementSyncedMemory,The main contents include: SyncedMemorywithBlobRelationship SyncedMemoryMethods, such as memory allocation, release SyncedMemoryIn mem...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top