Home
last modified time | relevance | path

Searched refs:ncols (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/criterion-plot/src/
Ddata.rs32 ncols: usize, field
42 let ncols = I::Item::ncols(); in new() localVariable
43 let bytes_per_row = ncols * mem::size_of::<f64>(); in new()
54 ncols, in new()
63 pub fn ncols(&self) -> usize { in ncols() method
64 self.ncols in ncols()
80 fn ncols() -> usize; in ncols() method
101 fn ncols() -> usize { in ncols() function
122 fn ncols() -> usize { in ncols() function
145 fn ncols() -> usize { in ncols() function
[all …]
/external/python/cpython2/Lib/test/
Dcurses_tests.py14 ncols, nlines = 8, 3
23 win = curses.newwin(nlines, ncols, uly, ulx)
24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n")
36 stdscr.move(uly+ncols+2 + i, 0)
/external/python/cpython3/Lib/test/
Dcurses_tests.py14 ncols, nlines = 8, 3
23 win = curses.newwin(nlines, ncols, uly, ulx)
24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n")
36 stdscr.move(uly+ncols+2 + i, 0)
/external/tensorflow/tensorflow/core/kernels/
Dinplace_ops_functor_gpu.cu.cc50 const int64 ncols = Toutput.dimension(1); in DoParallelConcatUpdate() local
55 d.stream(), cfg.virtual_thread_count, nrows, ncols, loc, src, dst)); in DoParallelConcatUpdate()
115 const int64 ncols = Ty.dimension(1); in DoInplaceOp() local
126 ncols, n, src, rowids, dst)); in DoInplaceOp()
131 cfg.virtual_thread_count, nrows, ncols, n, in DoInplaceOp()
137 cfg.virtual_thread_count, nrows, ncols, n, in DoInplaceOp()
150 const int64 ncols = Ty.dimension(1); in DoInplaceOp() local
160 ncols, n, src, rowids, dst)); in DoInplaceOp()
/external/tensorflow/tensorflow/python/ops/ragged/
Drow_partition.py1071 ncols = tensor_shape.dimension_value(uniform_row_length[0])
1078 if ncols == 0: # there are no values in each row -> no values.
1084 if ncols is not None and nvals is not None:
1085 if ncols != 0 and nvals % ncols != 0:
1087 "=%s (doesn't divide evenly)" % (nvals, ncols))
1088 if nrows is not None and nvals != ncols * nrows:
1090 "uniform_row_length=%s" % (nvals, nrows, ncols))
1091 if nrows is None and ncols != 0:
1092 self._nrows = tensor_shape.TensorShape([nvals // ncols])
1093 if ncols is not None and nrows is not None and nvals is None:
[all …]
Dragged_segment_op_test.py69 ncols = max(len(row) for row in data)
70 grouped = [[[] for _ in range(ncols)] for row in range(num_segments)]
Dragged_tensor.py847 ncols = self._row_partition.static_uniform_row_length
849 return tensor_shape.TensorShape([nrows, ncols]).concatenate(value_shape)
1570 ncols = input_shape[1]
1663 array_ops.expand_dims(math_ops.range(1, ncols + 1), 0))
1673 lengths = math_ops.minimum(lengths, ncols)
1678 mask = array_ops.sequence_mask(lengths, maxlen=ncols)
1695 ncols = constant_op.constant(const_ncols, row_splits_dtype)
1697 ncols = input_shape[1]
1699 values=values, uniform_row_length=ncols, nrows=nrows, validate=False)
/external/python/cpython3/Modules/clinic/
D_cursesmodule.c.h624 int nlines, int ncols, int begin_y, int begin_x);
632 int ncols = 0; in _curses_window_derwin() local
643 if (!PyArg_ParseTuple(args, "iiii:derwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_derwin()
652 return_value = _curses_window_derwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_derwin()
1709 int nlines, int ncols, int begin_y, int begin_x);
1717 int ncols = 0; in _curses_window_subwin() local
1728 if (!PyArg_ParseTuple(args, "iiii:subwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_subwin()
1737 return_value = _curses_window_subwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_subwin()
3248 _curses_is_term_resized_impl(PyObject *module, int nlines, int ncols);
3255 int ncols; in _curses_is_term_resized() local
[all …]
/external/XNNPACK/test/
Dspmm-microkernel-tester.h147 const size_t ncols = n() / nr() + n() % nr(); variable
148 std::vector<float> b(ncols * k());
203 for (size_t nn = n() / nr(); nn < ncols; nn++) {
242 for (size_t nn = n() / nr(); nn < ncols; nn++) {
320 const size_t ncols = n() / nr() + n() % nr(); in Test() local
321 std::vector<uint16_t> b(ncols * k()); in Test()
376 for (size_t nn = n() / nr(); nn < ncols; nn++) { in Test()
416 for (size_t nn = n() / nr(); nn < ncols; nn++) { in Test()
/external/python/cffi/demo/
D_curses.py369 ncols = 0
373 nlines, ncols, begin_y, begin_x = args
377 win = lib.derwin(self._win, nlines, ncols, begin_y, begin_x)
574 ncols = 0
578 nlines, ncols, begin_y, begin_x = args
583 win = lib.subpad(self._win, nlines, ncols, begin_y, begin_x)
585 win = lib.subwin(self._win, nlines, ncols, begin_y, begin_x)
871 def newpad(nlines, ncols): argument
873 return Window(_check_NULL(lib.newpad(nlines, ncols)))
876 def newwin(nlines, ncols, begin_y=None, begin_x=None): argument
[all …]
/external/python/cpython2/Lib/
Dcmd.py370 ncols = (size+nrows-1) // nrows
373 for col in range(ncols):
389 ncols = 1
393 for col in range(ncols):
/external/python/cpython3/Lib/
Dcmd.py367 ncols = (size+nrows-1) // nrows
370 for col in range(ncols):
386 ncols = 1
390 for col in range(ncols):
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBigMatrixImpl.java758 final int ncols = this.getColumnDimension(); in getRowMatrix() local
759 final BigDecimal[][] out = new BigDecimal[1][ncols]; in getRowMatrix()
760 System.arraycopy(data[row], 0, out[0], 0, ncols); in getRowMatrix()
794 final int ncols = this.getColumnDimension(); in getRow() local
795 final BigDecimal[] out = new BigDecimal[ncols]; in getRow()
796 System.arraycopy(data[row], 0, out, 0, ncols); in getRow()
813 final int ncols = this.getColumnDimension(); in getRowAsDoubleArray() local
814 final double[] out = new double[ncols]; in getRowAsDoubleArray()
815 for (int i=0;i<ncols;i++) { in getRowAsDoubleArray()
/external/python/cpython2/Lib/curses/
Dtextpad.py192 ncols, nlines = 9, 4
195 win = curses.newwin(nlines, ncols, uly, ulx)
196 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
/external/python/cpython3/Lib/curses/
Dtextpad.py192 ncols, nlines = 9, 4
195 win = curses.newwin(nlines, ncols, uly, ulx)
196 rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
/external/XNNPACK/bench/
Df16-spmm.cc48 size_t ncols = nc / nr + nc % nr; in SpMMBenchmark() local
49 std::vector<uint16_t> b(ncols * kc); in SpMMBenchmark()
100 for (uint32_t i = nc / nr; i < ncols; i++) { in SpMMBenchmark()
Df32-spmm.cc41 size_t ncols = nc / nr + nc % nr; in SpMMBenchmark() local
42 std::vector<float> b(ncols * kc); in SpMMBenchmark()
93 for (uint32_t i = nc / nr; i < ncols; i++) { in SpMMBenchmark()
/external/python/cpython2/Modules/
D_cursesmodule.c761 int nlines, ncols, begin_y, begin_x; in PyCursesWindow_DerWin() local
764 ncols = 0; in PyCursesWindow_DerWin()
772 &nlines,&ncols,&begin_y,&begin_x)) in PyCursesWindow_DerWin()
780 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in PyCursesWindow_DerWin()
1452 int nlines, ncols, begin_y, begin_x; in PyCursesWindow_SubWin() local
1455 ncols = 0; in PyCursesWindow_SubWin()
1463 &nlines,&ncols,&begin_y,&begin_x)) in PyCursesWindow_SubWin()
1474 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in PyCursesWindow_SubWin()
1478 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in PyCursesWindow_SubWin()
2244 int nlines, ncols; in PyCurses_NewPad() local
[all …]
/external/python/cpython3/Modules/
D_cursesmodule.c1156 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_derwin_impl() argument
1161 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in _curses_window_derwin_impl()
2177 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_subwin_impl() argument
2185 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl()
2189 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl()
3384 _curses_is_term_resized_impl(PyObject *module, int nlines, int ncols) in _curses_isendwin_impl()
3389 return PyBool_FromLong(is_term_resized(nlines, ncols)); in _curses_isendwin_impl()
3556 _curses_newpad_impl(PyObject *module, int nlines, int ncols) in _curses_newpad_impl() argument
3563 win = newpad(nlines, ncols); in _curses_newpad_impl()
3595 _curses_newwin_impl(PyObject *module, int nlines, int ncols, in _curses_newwin_impl() argument
[all …]
/external/webrtc/modules/audio_processing/test/py_quality_assessment/
Dapm_quality_assessment_boxplot.py138 _, axes = plt.subplots(nrows=1, ncols=1, figsize=(6, 6))
/external/eigen/Eigen/src/Core/
DTranspose.h82 void resize(Index nrows, Index ncols) {
83 m_matrix.resize(ncols,nrows);
/external/eigen/Eigen/src/CholmodSupport/
DCholmodSupport.h378 StorageIndex ncols = super[k + 1] - super[k];
381 …Map<const Array<Scalar,1,Dynamic>, 0, InnerStride<> > sk(x + px[k], ncols, InnerStride<>(nrows+1));
/external/python/cpython2/Doc/library/
Dcurses.rst302 .. function:: is_term_resized(nlines, ncols)
365 .. function:: newpad(nlines, ncols)
383 .. function:: newwin(nlines, ncols)
384 newwin(nlines, ncols, begin_y, begin_x)
387 whose height/width is *nlines*/*ncols*.
484 .. function:: resize_term(nlines, ncols)
494 .. function:: resizeterm(nlines, ncols)
827 window.derwin(nlines, ncols, begin_y, begin_x)
1114 .. method:: window.resize(nlines, ncols)
1155 window.subpad(nlines, ncols, begin_y, begin_x)
[all …]
/external/llvm-project/llvm/lib/Support/
Dregcomp.c1393 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1396 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1410 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1414 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Dregcomp.c1265 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets() local
1268 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1282 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets() local
1286 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()

12