• Vadim Pisarevsky's avatar
    enabled convolution & activation fusion (#1245) · e551d15c
    Vadim Pisarevsky authored
    * enabled convolution & activation fusion
    
    * a few more optimizations:
    + optimized the common case when the indices of max pooling layer are not used. in this case we use the more efficient branch that computes just maximums over the aperture.
    + optimized the convolution + activation fusion when the activation is relu, which is another common case
    + convolution can now be fused with batch norm. It's the zero-cost fusion. If the batch norm is followed by relu, all three (conv + batchnorm + relu) are fused together. this modification seriously improved ENet performance
    
    * hopefully fixed warnings on Windows
    e551d15c
Name
Last commit
Last update
..
batch_norm_layer.cpp Loading commit data...
blank_layer.cpp Loading commit data...
concat_layer.cpp Loading commit data...
convolution_layer.cpp Loading commit data...
crop_layer.cpp Loading commit data...
detection_output_layer.cpp Loading commit data...
elementwise_layers.cpp Loading commit data...
eltwise_layer.cpp Loading commit data...
flatten_layer.cpp Loading commit data...
fully_connected_layer.cpp Loading commit data...
layers_common.avx2.cpp Loading commit data...
layers_common.cpp Loading commit data...
layers_common.hpp Loading commit data...
lrn_layer.cpp Loading commit data...
max_unpooling_layer.cpp Loading commit data...
mvn_layer.cpp Loading commit data...
normalize_bbox_layer.cpp Loading commit data...
padding_layer.cpp Loading commit data...
permute_layer.cpp Loading commit data...
pooling_layer.cpp Loading commit data...
prior_box_layer.cpp Loading commit data...
recurrent_layers.cpp Loading commit data...
reshape_layer.cpp Loading commit data...
scale_layer.cpp Loading commit data...
shift_layer.cpp Loading commit data...
slice_layer.cpp Loading commit data...
softmax_layer.cpp Loading commit data...
split_layer.cpp Loading commit data...