Home
last modified time | relevance | path

Searched refs:ksize (Results 1 – 25 of 1502) sorted by relevance

12345678910>>...61

/dports/www/gohugo/hugo-0.91.2/vendor/github.com/disintegration/gift/
H A Drank.go17 ksize int member
39 ksize := p.ksize
41 ksize--
65 rbuf = make([]float32, 0, ksize*ksize)
66 gbuf = make([]float32, 0, ksize*ksize)
67 bbuf = make([]float32, 0, ksize*ksize)
69 abuf = make([]float32, 0, ksize*ksize)
169 pxbuf = pxbuf[0 : ksize*(ksize-1)]
195 ksize: ksize,
207 ksize: ksize,
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/
H A Dbox_filter.dispatch.cpp79 (ksize.width == 3) && (ksize.height == 3)) ) in ocl_boxFilter3x3_8UC1()
82 float alpha = 1.0f / (ksize.height * ksize.width); in ocl_boxFilter3x3_8UC1()
136 float alpha = 1.0f / (ksize.height * ksize.width); in ocl_boxFilter()
164 ((ksize.width < 5 && ksize.height < 5 && esz <= 4) || in ocl_boxFilter()
165 (ksize.width == 5 && ksize.height == 5 && cn == 1))) in ocl_boxFilter()
167 if (w < ksize.width || h < ksize.height) in ocl_boxFilter()
177 if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4) in ocl_boxFilter()
182 else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4)) in ocl_boxFilter()
206 cn, anchor.x, anchor.y, ksize.width, ksize.height, in ocl_boxFilter()
235 if (ksize.width > BLOCK_SIZE_X || w < ksize.width || h < ksize.height) in ocl_boxFilter()
[all …]
H A Dsmooth.dispatch.cpp293 CV_Assert( ksize.width > 0 && ksize.width % 2 == 1 && in createGaussianKernels()
294 ksize.height > 0 && ksize.height % 2 == 1 ); in createGaussianKernels()
300 if( ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON ) in createGaussianKernels()
344 if (ksize.width == 3) in ocl_GaussianBlur_8UC1()
407 ksize.width != 3 || ksize.height != 3) in openvx_gaussianBlur()
545 if(ksize.width != ksize.height) in ipp_GaussianBlur()
632 if( ksize.width == 1 && ksize.height == 1 ) in GaussianBlur()
639 _src.rows() >= ksize.height && _src.cols() >= ksize.width && in GaussianBlur()
640 ksize.width > 1 && ksize.height > 1; in GaussianBlur()
649 ((ksize.width == 3 && ksize.height == 3) || in GaussianBlur()
[all …]
H A Dfilterengine.hpp78 int ksize; member in cv::BaseRowFilter
108 int ksize; member in cv::BaseColumnFilter
136 Size ksize; member in cv::BaseFilter
257 Size ksize; member in cv::FilterEngine
321 Ptr<FilterEngine> createGaussianFilter( int type, Size ksize,
361 static inline Point normalizeAnchor( Point anchor, Size ksize ) in normalizeAnchor() argument
364 anchor.x = ksize.width/2; in normalizeAnchor()
366 anchor.y = ksize.height/2; in normalizeAnchor()
367 CV_Assert( anchor.inside(Rect(0, 0, ksize.width, ksize.height)) ); in normalizeAnchor()
381 anchor = cv::normalizeAnchor(anchor, ksize); in ippiCheckAnchor()
[all …]
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/pooling/
H A Daverage_pooling_nd.py65 dims, self.ksize, self.stride, self.pad):
80 ksize = self.ksize
100 ksize = self.ksize
113 y_axis = tuple(six.moves.range(2, 2 + len(ksize)))
135 ksize = self.ksize
191 ksize = func.ksize
204 gcol_reps = (1, 1) + ksize + (1,) * len(odims)
208 gx /= functools.reduce(operator.mul, ksize)
219 ksize = func.ksize
246 gx /= functools.reduce(operator.mul, ksize)
[all …]
H A Dmax_pooling_nd.py40 ksize = self.ksize
61 ksize = self.ksize
75 ksize = col.shape[2:mid]
92 kh, kw = self.ksize
129 ksize = self.ksize
181 ksize = func.ksize
218 kh, kw = func.ksize
253 ksize = func.ksize
284 ksize = func.ksize
319 ksize = func.ksize
[all …]
H A Dunpooling_nd.py21 def __init__(self, ndim, ksize, stride=None, pad=0, outsize=None, argument
23 super(UnpoolingND, self).__init__(ndim, ksize, stride, pad, cover_all)
39 in six.moves.zip(self.outs, self.ksize, self.stride, self.pad))
47 ksize = self.ksize
53 for (d, k, s, p) in six.moves.zip(dims, ksize, stride, pad))
61 tile_reps = (1, 1) + ksize + (1,) * ndim
80 self.ksize = unpoolingnd.ksize
100 self.ndim, self.ksize, self.stride, self.pad, self.outs,
141 ndim, ksize, stride, pad, outsize, cover_all).apply((x,))[0]
163 return unpooling_nd(x, ksize, stride, pad, outsize, cover_all)
[all …]
/dports/math/octave-forge-ltfat/ltfat/src/modules/libphaseret/src/
H A Dlegla.c40 phaseret_size ksize; in PHASERET_NAME() local
73 phaseret_size ksize; in PHASERET_NAME() local
96 ksize = pLoc.ksize; in PHASERET_NAME()
98 CHECK(LTFATERR_BADSIZE, (ksize.width <= N && ksize.height <= M) || in PHASERET_NAME()
99 (ksize.width >= 0 && ksize.height >= 0), in PHASERET_NAME()
105 CHECK(LTFATERR_BADSIZE, ksize.width > 0 && ksize.height > 0, in PHASERET_NAME()
110 CHECK(LTFATERR_BADSIZE, !(ksize.width == 0 && ksize.height > 0) || in PHASERET_NAME()
111 !(ksize.width > 0 && ksize.height == 0), in PHASERET_NAME()
113 ksize.width, ksize.height); in PHASERET_NAME()
115 if (ksize.width == 0 && ksize.height == 0) in PHASERET_NAME()
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/test/ocl/
H A Dtest_filters.cpp80 ksize = GET_PARAM(1); in PARAM_TEST_CASE()
91 minSize = ksize; in PARAM_TEST_CASE()
188 ksize = GET_PARAM(1); in PARAM_TEST_CASE()
375 size = Size(ksize, ksize); in PARAM_TEST_CASE()
378 if (ksize == 3) in PARAM_TEST_CASE()
383 else if (ksize == 5) in PARAM_TEST_CASE()
416 Size kernelSize(ksize, ksize); in OCL_TEST_P()
439 Size kernelSize(ksize, ksize); in OCL_TEST_P()
461 Size kernelSize(ksize, ksize); in OCL_TEST_P()
540 Size kernelSize(ksize, ksize); in OCL_TEST_P()
[all …]
H A Dtest_boxfilter.cpp60 Size ksize, dsize; in PARAM_TEST_CASE() local
79 ksize = randomSize(kernelMinSize, kernelMaxSize); in PARAM_TEST_CASE()
81 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); in PARAM_TEST_CASE()
88 anchor.x = randomInt(-1, ksize.width); in PARAM_TEST_CASE()
89 anchor.y = randomInt(-1, ksize.height); in PARAM_TEST_CASE()
109 OCL_OFF(cv::boxFilter(src_roi, dst_roi, -1, ksize, anchor, normalize, borderType)); in OCL_TEST_P()
163 Size ksize, dsize; in PARAM_TEST_CASE() local
182 ksize = Size(3,3); in PARAM_TEST_CASE()
184 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); in PARAM_TEST_CASE()
185 roiSize.width = std::max(ksize.width + 13, roiSize.width & (~0xf)); in PARAM_TEST_CASE()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/dports/lang/clang-mesa/clang-13.0.1.src/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/crypto/
H A Dtestmgr.h4199 .ksize = 4,
5497 .ksize = 4,
5574 .ksize = 4,
5652 .ksize = 4,
5882 .ksize = 4,
6378 .ksize = 4,
6476 .ksize = 4,
6575 .ksize = 4,
6662 .ksize = 4,
6751 .ksize = 4,
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/crypto/
H A Dtestmgr.h4199 .ksize = 4,
5497 .ksize = 4,
5574 .ksize = 4,
5652 .ksize = 4,
5882 .ksize = 4,
6378 .ksize = 4,
6476 .ksize = 4,
6575 .ksize = 4,
6662 .ksize = 4,
6751 .ksize = 4,
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/crypto/
H A Dtestmgr.h4199 .ksize = 4,
5497 .ksize = 4,
5574 .ksize = 4,
5652 .ksize = 4,
5882 .ksize = 4,
6378 .ksize = 4,
6476 .ksize = 4,
6575 .ksize = 4,
6662 .ksize = 4,
6751 .ksize = 4,
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/guide/neuralnet/
H A Dconvnet.cu62 :rnd(0), ksize(ksize), kstride(kstride), psize(psize) { in ConvNet()
80 …nhidden.Resize(Shape4(batch_size, nchannel, (insize - ksize)/kstride+1, (insize -ksize)/kstride+1)… in ConvNet()
91 Ki2h.Resize(Shape2(nchannel, ksize*ksize)); g_Ki2h.Resize(Ki2h.shape_); in ConvNet()
159 int ksize, int kstride, in ConvForward() argument
168 tmp_col.Resize(Shape2(in.size(1)*ksize*ksize, nbatch*oheight*owidth)); in ConvForward()
171 tmp_col = unpack_patch2col(in, ksize, ksize, kstride, kstride, 1, 1); in ConvForward()
190 tmp_col.Resize(Shape2(in.size(1) * ksize * ksize, in ConvBackWard()
194 tmp_col = unpack_patch2col(in, ksize, ksize, kstride, kstride, 1, 1); in ConvBackWard()
199 in = pack_col2patch(tmp_col, in.shape_, ksize, ksize, kstride, kstride, 1, 1); in ConvBackWard()
205 int ksize, kstride, psize; member in ConvNet
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/guide/neuralnet/
H A Dconvnet.cu62 :rnd(0), ksize(ksize), kstride(kstride), psize(psize) { in ConvNet()
80 …nhidden.Resize(Shape4(batch_size, nchannel, (insize - ksize)/kstride+1, (insize -ksize)/kstride+1)… in ConvNet()
91 Ki2h.Resize(Shape2(nchannel, ksize*ksize)); g_Ki2h.Resize(Ki2h.shape_); in ConvNet()
159 int ksize, int kstride, in ConvForward() argument
168 tmp_col.Resize(Shape2(in.size(1)*ksize*ksize, nbatch*oheight*owidth)); in ConvForward()
171 tmp_col = unpack_patch2col(in, ksize, ksize, kstride, kstride, 1, 1); in ConvForward()
190 tmp_col.Resize(Shape2(in.size(1) * ksize * ksize, in ConvBackWard()
194 tmp_col = unpack_patch2col(in, ksize, ksize, kstride, kstride, 1, 1); in ConvBackWard()
199 in = pack_col2patch(tmp_col, in.shape_, ksize, ksize, kstride, kstride, 1, 1); in ConvBackWard()
205 int ksize, kstride, psize; member in ConvNet
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/test/
H A Dunpack.cu48 const int ksize = 3; in RunTask() local
70 index_t oheight = (in.size(2) - ksize)/kstride + 1; in RunTask()
71 index_t owidth = (in.size(3) - ksize)/kstride + 1; in RunTask()
75 xtmp_col.Resize( Xmshadow::Shape2( xin.shape[2]*ksize*ksize, nbatch*oheight*owidth ) ); in RunTask()
76 tmp_col.Resize(mshadow::Shape2(in.size(1)*ksize*ksize, nbatch*oheight*owidth)); in RunTask()
77 xtmp_col = Xmshadow::expr::unpack_patch2col( xin, ksize, kstride ); in RunTask()
78 tmp_col = mshadow::expr::unpack_patch2col(in, ksize, ksize, kstride); in RunTask()
83 xtc.Resize( Xmshadow::Shape2( xin.shape[2]*ksize*ksize, nbatch*oheight*owidth ) ); in RunTask()
84 tc.Resize(mshadow::Shape2(in.size(1)*ksize*ksize, nbatch*oheight*owidth)); in RunTask()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/test/
H A Dunpack.cu48 const int ksize = 3; in RunTask() local
70 index_t oheight = (in.size(2) - ksize)/kstride + 1; in RunTask()
71 index_t owidth = (in.size(3) - ksize)/kstride + 1; in RunTask()
75 xtmp_col.Resize( Xmshadow::Shape2( xin.shape[2]*ksize*ksize, nbatch*oheight*owidth ) ); in RunTask()
76 tmp_col.Resize(mshadow::Shape2(in.size(1)*ksize*ksize, nbatch*oheight*owidth)); in RunTask()
77 xtmp_col = Xmshadow::expr::unpack_patch2col( xin, ksize, kstride ); in RunTask()
78 tmp_col = mshadow::expr::unpack_patch2col(in, ksize, ksize, kstride); in RunTask()
83 xtc.Resize( Xmshadow::Shape2( xin.shape[2]*ksize*ksize, nbatch*oheight*owidth ) ); in RunTask()
84 tc.Resize(mshadow::Shape2(in.size(1)*ksize*ksize, nbatch*oheight*owidth)); in RunTask()
/dports/sysutils/ssync/ssync-2.3/
H A Dconf.c52 d.ksize = strlen (key); in get_config_string()
166 d.ksize = strlen ("conf-path"); in parse_command_line()
186 d.ksize = strlen (long_options[o_interval].name); in parse_command_line()
196 d.ksize = strlen (long_options[o_src_path].name); in parse_command_line()
201 d.ksize = strlen (long_options[o_dst_path].name); in parse_command_line()
206 d.ksize = strlen (long_options[o_priority].name); in parse_command_line()
236 d.ksize = strlen (long_options[o_test].name); in parse_command_line()
241 d.ksize = strlen (long_options[o_pid_path].name); in parse_command_line()
246 d.ksize = strlen (long_options[o_log_mode].name); in parse_command_line()
251 d.ksize = strlen (long_options[o_log_path].name); in parse_command_line()
[all …]
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cvv/src/qtutil/filter/
H A Dsobelfilterwidget.cpp29 ksize_ = *ksize;
121 int ksize = 3; in applyFilter() local
125 ksize = 1; in applyFilter()
128 ksize = 3; in applyFilter()
131 ksize = 5; in applyFilter()
134 ksize = 7; in applyFilter()
250 ksize = 1; in checkInput()
253 ksize = 3; in checkInput()
256 ksize = 5; in checkInput()
259 ksize = 7; in checkInput()
[all …]

12345678910>>...61