Home
last modified time | relevance | path

Searched refs:nrows (Results 1 – 25 of 45) sorted by relevance

12

/external/javasqlite/src/main/java/SQLite/
DTableResult.java42 public int nrows; field in TableResult
99 ncolumns = nrows = 0; in clear()
126 if (maxrows > 0 && nrows >= maxrows) { in newrow()
131 nrows++; in newrow()
148 for (i = 0; i < nrows; i++) { in toString()
DDatabase.java310 while (ret.nrows < ret.maxrows && vm.step(ret)) { in get_table()
363 while (ret.nrows < ret.maxrows && vm.step(ret)) { in get_table()
416 while (tbl.nrows < tbl.maxrows && vm.step(tbl)) { in get_table()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor.py269 def from_value_rowids(cls, values, value_rowids, nrows=None, name=None): argument
310 [values, value_rowids, nrows]):
314 if nrows is None:
317 nrows = array_ops.concat([value_rowids[-1:], [-1]], axis=0)[0] + 1
321 nrows = ops.convert_to_tensor(const_nrows, dtypes.int64, name="nrows")
323 nrows = ops.convert_to_tensor(nrows, dtypes.int64, "nrows")
324 const_nrows = tensor_util.constant_value(nrows)
336 nrows.shape.assert_has_rank(0)
345 nrows_int32 = math_ops.cast(nrows, dtypes.int32)
361 cached_nrows=nrows,
[all …]
Dragged_tensor_test.py136 values, value_rowids=[0, 0, 0, 0, 2, 2, 2, 3], nrows=5)
265 rt_nrows = rt.nrows()
291 rt_nrows = rt.nrows()
304 nrows = constant_op.constant(7, dtypes.int64)
306 rt = RaggedTensor.from_value_rowids(values, value_rowids, nrows)
313 rt_nrows = rt.nrows()
317 self.assertIs(rt_nrows, nrows) # cached_nrows
325 nrows = constant_op.constant(5, dtypes.int64)
327 rt = RaggedTensor.from_value_rowids(values, value_rowids, nrows)
334 rt_nrows = rt.nrows()
[all …]
Dragged_map_ops.py225 n = elems_flat[0].nrows(out_type=dtypes.int32)
382 outer_row_length = array_ops.expand_dims(rt.nrows(), axis=0)
438 nrows = current.nrows()
440 nrows = array_ops.shape(current, out_type=dtypes.int64)[0]
441 row_length = array_ops.expand_dims(nrows, axis=0)
Dsegment_id_ops.py61 nrows = array_ops.shape(splits, out_type=dtypes.int64)[-1] - 1
62 indices = math_ops.range(nrows)
Dragged_concat_ops.py218 stack_lengths = array_ops.stack([rt.nrows() for rt in rt_inputs])
239 rt_nrows = rt_inputs[0].nrows()
242 check_ops.assert_equal(rt.nrows(), rt_nrows, message=nrows_msg)
Dragged_tensor_shape.py169 (rt_input.nrows(),) + rt_input.nested_row_lengths())
501 nrows = rt_input.nrows()
503 nrows = array_ops.shape(rt_input, out_type=dtypes.int64)[0]
504 rt_input = ragged_tensor.RaggedTensor.from_row_lengths(rt_input, [nrows])
Dragged_array_ops.py476 splits = array_ops.stack([0, input.nrows()])
479 splits = math_ops.range(input.nrows() + 1)
545 return rt_input.nrows(out_type=out_type, name=name)
/external/tensorflow/tensorflow/core/kernels/
Dinplace_ops_functor_gpu.cu.cc48 const int64 nrows = Toutput.dimension(0); in DoParallelConcatUpdate() local
54 d.stream(), cfg.virtual_thread_count, nrows, ncols, loc, src, dst)); in DoParallelConcatUpdate()
111 const int64 nrows = Ty.dimension(0); in DoInplaceOp() local
122 d.stream(), cfg.virtual_thread_count, nrows, in DoInplaceOp()
128 cfg.virtual_thread_count, nrows, ncols, n, in DoInplaceOp()
134 cfg.virtual_thread_count, nrows, ncols, n, in DoInplaceOp()
146 const int64 nrows = Ty.dimension(0); in DoInplaceOp() local
156 d.stream(), cfg.virtual_thread_count, nrows, in DoInplaceOp()
Dragged_range_op.cc63 int64 nrows = in_sizes.empty() ? 1 : in_sizes[0]; in Compute() local
72 context->allocate_output(0, TensorShape({nrows + 1}), in Compute()
76 for (int row = 0; row < nrows; ++row) { in Compute()
84 int64 nvals = rt_nested_splits(nrows); in Compute()
92 for (int row = 0; row < nrows; ++row) { in Compute()
Dinplace_ops.cc39 auto nrows = Toutput.dimension(0); in DoParallelConcatUpdate() local
40 auto r = (loc % nrows + nrows) % nrows; // Guard index range. in DoParallelConcatUpdate()
301 auto nrows = Ty.dimension(0); in DoInplaceOp() local
303 auto r = (Ti(j) % nrows + nrows) % nrows; // Guard index range. in DoInplaceOp()
324 auto nrows = Ty.dimension(0); in DoInplaceStringUpdateOp() local
326 auto r = (Ti(j) % nrows + nrows) % nrows; // Guard index range. in DoInplaceStringUpdateOp()
/external/python/cpython3/Lib/
Dcmd.py366 for nrows in range(1, len(list)):
367 ncols = (size+nrows-1) // nrows
372 for row in range(nrows):
373 i = row + nrows*col
385 nrows = len(list)
388 for row in range(nrows):
391 i = row + nrows*col
/external/python/cpython2/Lib/
Dcmd.py369 for nrows in range(1, len(list)):
370 ncols = (size+nrows-1) // nrows
375 for row in range(nrows):
376 i = row + nrows*col
388 nrows = len(list)
391 for row in range(nrows):
394 i = row + nrows*col
/external/pdfium/third_party/libtiff/
Dtif_strip.c78 TIFFVStripSize64(TIFF* tif, uint32 nrows) in TIFFVStripSize64() argument
82 if (nrows==(uint32)(-1)) in TIFFVStripSize64()
83 nrows=td->td_imagelength; in TIFFVStripSize64()
121 samplingblocks_ver=TIFFhowmany_32(nrows,ycbcrsubsampling[1]); in TIFFVStripSize64()
127 return(_TIFFMultiply64(tif,nrows,TIFFScanlineSize64(tif),module)); in TIFFVStripSize64()
130 TIFFVStripSize(TIFF* tif, uint32 nrows) in TIFFVStripSize() argument
135 m=TIFFVStripSize64(tif,nrows); in TIFFVStripSize()
Dtif_dumpmode.c113 DumpModeSeek(TIFF* tif, uint32 nrows) in DumpModeSeek() argument
115 tif->tif_rawcp += nrows * tif->tif_scanlinesize; in DumpModeSeek()
116 tif->tif_rawcc -= nrows * tif->tif_scanlinesize; in DumpModeSeek()
Dtif_jpeg.c1198 tmsize_t nrows; in JPEGDecode() local
1211 nrows = cc / sp->bytesperline; in JPEGDecode()
1216 if( nrows > (tmsize_t) sp->cinfo.d.image_height ) in JPEGDecode()
1217 nrows = sp->cinfo.d.image_height; in JPEGDecode()
1220 if (nrows) in JPEGDecode()
1236 } while (--nrows > 0); in JPEGDecode()
1254 tmsize_t nrows; in JPEGDecode() local
1267 nrows = cc / sp->bytesperline; in JPEGDecode()
1272 if( nrows > (tmsize_t) sp->cinfo.d.image_height ) in JPEGDecode()
1273 nrows = sp->cinfo.d.image_height; in JPEGDecode()
[all …]
Dtif_tile.c201 TIFFVTileSize64(TIFF* tif, uint32 nrows) in TIFFVTileSize64() argument
240 samplingblocks_ver=TIFFhowmany_32(nrows,ycbcrsubsampling[1]); in TIFFVTileSize64()
246 return(_TIFFMultiply64(tif,nrows,TIFFTileRowSize64(tif),module)); in TIFFVTileSize64()
249 TIFFVTileSize(TIFF* tif, uint32 nrows) in TIFFVTileSize() argument
254 m=TIFFVTileSize64(tif,nrows); in TIFFVTileSize()
Dtiffio.h364 extern uint64 TIFFVStripSize64(TIFF* tif, uint32 nrows);
365 extern tmsize_t TIFFVStripSize(TIFF* tif, uint32 nrows);
370 extern uint64 TIFFVTileSize64(TIFF* tif, uint32 nrows);
371 extern tmsize_t TIFFVTileSize(TIFF* tif, uint32 nrows);
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCDatabaseMetaData.java612 if (rs0.tr.nrows < 1) { in getColumns()
635 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0) { in getColumns()
644 for (int i = 0; i < rs0.tr.nrows; i++) { in getColumns()
765 if (rs0 != null && rs0.tr != null && rs0.tr.nrows > 0 && in getBestRowIdentifier()
766 rs1 != null && rs1.tr != null && rs1.tr.nrows > 0) { in getBestRowIdentifier()
775 for (int i = 0; i < rs0.tr.nrows; i++) { in getBestRowIdentifier()
794 if (rs2 == null || rs2.tr == null || rs2.tr.nrows <= 0) { in getBestRowIdentifier()
802 for (int k = 0; k < rs2.tr.nrows; k++) { in getBestRowIdentifier()
806 for (int m = 0; m < rs1.tr.nrows; m++) { in getBestRowIdentifier()
825 if (tr.nrows <= 0) { in getBestRowIdentifier()
[all …]
DJDBCResultSet.java104 if (pk.tr.nrows > 0) {
106 pkcols = new String[pk.tr.nrows];
107 pkcoli = new int[pk.tr.nrows];
108 for (int i = 0; i < pk.tr.nrows; i++) {
148 return row < tr.nrows;
178 row = tr.nrows + 1 + row;
181 if (row < 0 || row > tr.nrows) {
192 if (this.row + row < 0 || this.row + row >= tr.nrows) {
759 if (tr == null || tr.nrows <= 0) {
773 if (tr == null || tr.nrows <= 0) {
[all …]
DTableResultX.java29 this.nrows = tr.nrows; in TableResultX()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-ragged-tensor.pbtxt84 …argspec: "args=[\'cls\', \'values\', \'value_rowids\', \'nrows\', \'name\'], varargs=None, keyword…
91 name: "nrows"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-ragged-tensor.pbtxt84 …argspec: "args=[\'cls\', \'values\', \'value_rowids\', \'nrows\', \'name\'], varargs=None, keyword…
91 name: "nrows"
/external/u-boot/include/
Dspd.h20 unsigned char nrows; /* 5 # of Module Rows on this assembly */ member

12