コード例 #1
0
 void do_update( ccube_p<real> const & g )
 {
     auto dEdW = convolve_sparse_flipped(*last_input, *g, filter_stride);
     filter_.update(*dEdW);
     flatten(filter_.W(), repeat_);
 }
コード例 #2
0
ファイル: filter_edge.hpp プロジェクト: Nuzhny007/znn-release
 void do_update( ccube_p<real> const & g )
 {
     auto dEdW = convolve_sparse_flipped(*last_input, *g, filter_stride);
     filter_.update(*dEdW, patch_sz_);
 }
コード例 #3
0
inline cube_p<T> convolve_sparse_flipped( ccube_p<T> const & a,
                                          ccube_p<T> const & b,
                                          vec3i const & s )
{
    return convolve_sparse_flipped(*a,*b,s);
}