Skip to content

Instantly share code, notes, and snippets.

#ifdef USE_CUDNN
#include <algorithm>
#include <vector>
#include "caffe/layers/cudnn_conv_layer.hpp"
namespace caffe {
cudnnConvolutionFwdAlgo_t
GetCuDNNFwdAlgo(ConvolutionParameter_CuDNNFwdAlgorithm algo) {
switch (algo) {