编译:vl_compilenn('enableGPU',true, 'cudaMethod', 'nvcc', 'cudaRoot','/usr/local/cuda')
出现问题:
Error in vl_compilenn (line 419)
if opts.enableGpu && opts.enableCudnn
解决方法:
用&替换掉代码中的&&(The thing about && is that it can operate only on scalars, whereas & can operate on arrays as well. Should change the && to & to make it work .)