/third_party/node/deps/npm/node_modules/cli-table3/src/ |
D | layout-manager.js | 8 row.forEach(function(cell, columnIndex) { argument 9 cell.y = rowIndex; 10 cell.x = columnIndex; 16 while (cellsConflict(cell, cell2)) { 17 cell.x++; 28 row.forEach(function(cell) { argument 29 mw = Math.max(mw, cell.x + (cell.colSpan || 1)); 57 let cell = { x: x, y: y }; variable 61 if (cellsConflict(cell, row[j])) { 80 row.forEach(function(cell) { argument [all …]
|
D | table.js | 26 row.forEach(function(cell) { argument 27 cell.mergeTableOptions(this.options, cells); 35 row.forEach(function(cell) { argument 36 cell.init(this.options); 70 row.forEach(function(cell) { argument 71 line.push(cell.draw(lineNum));
|
/third_party/mindspore/mindspore/nn/layer/ |
D | container.py | 18 from ..cell import Cell 34 def _valid_cell(cell, op_name=None): argument 36 if issubclass(cell.__class__, Cell): 53 for key, cell in cell_list: 55 _, param = next(cell.parameters_and_names()) 148 for index, cell in enumerate(cells): 149 self.insert_child_to_cell(str(index), cell) 150 cell.update_parameters_name(str(index) + ".") 153 for name, cell in cells.items(): 154 self.insert_child_to_cell(name, cell) [all …]
|
/third_party/python/Doc/c-api/ |
D | cell.rst | 9 For each such variable, a cell object is created to store the value; the local 12 accessed, the value contained in the cell is used instead of the cell object 13 itself. This de-referencing of the cell object requires support from the 20 The C structure used for cell objects. 25 The type object corresponding to cell objects. 30 Return true if *ob* is a cell object; *ob* must not be ``NULL``. This 36 Create and return a new cell object containing the value *ob*. The parameter may 40 .. c:function:: PyObject* PyCell_Get(PyObject *cell) 42 Return the contents of the cell *cell*. 45 .. c:function:: PyObject* PyCell_GET(PyObject *cell) [all …]
|
/third_party/python/Tools/demo/ |
D | spreadsheet.py | 40 cell = self.cellvalue, 46 cell = self.getcell(x, y) 47 if hasattr(cell, 'recalc'): 48 return cell.recalc(self.ns) 50 return cell 66 def setcell(self, x, y, cell): argument 68 assert isinstance(cell, BaseCell) 69 self.cells[x, y] = cell 105 cell = self.cells[x, y] 106 if hasattr(cell, 'renumber'): [all …]
|
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/ |
D | initializer.py | 157 for _, cell in custom_cell.cells_and_names(): 158 if isinstance(cell, nn.Conv2d): 159 cell.weight.set_data(init.initializer(KaimingUniform(a=math.sqrt(5)), 160 cell.weight.shape, 161 cell.weight.dtype)) 162 if cell.bias is not None: 163 fan_in, _ = _calculate_fan_in_and_fan_out(cell.weight) 165 cell.bias.set_data(init.initializer(init.Uniform(bound), 166 cell.bias.shape, 167 cell.bias.dtype)) [all …]
|
D | util.py | 65 for name, cell in net.cells_and_names(): 68 if isinstance(cell, (nn.Conv2d, nn.Dense)): 72 cell.weight.set_data(param_dict[darknet_weight].data) 77 cell.bias.set_data(param_dict[darknet_bias].data) 81 elif isinstance(cell, (nn.BatchNorm2d, nn.BatchNorm1d)): 87 cell.moving_mean.set_data(param_dict[darknet_moving_mean].data) 92 cell.moving_variance.set_data(param_dict[darknet_moving_variance].data) 97 cell.gamma.set_data(param_dict[darknet_gamma].data) 102 cell.beta.set_data(param_dict[darknet_beta].data) 185 for _, cell in network.cells_and_names(): [all …]
|
/third_party/boost/tools/quickbook/test/ |
D | table-1_5.quickbook | 8 [[cell]] 13 [[cell]] 18 [[cell]] 23 [[cell]] 28 [[cell]] 33 [[cell]] 39 [[cell]] 44 [[cell]] 53 [[cell]] 60 [[cell]] [all …]
|
D | table-1_6.quickbook | 6 [table:table1 Table 1 [[Heading]][[cell]]] 10 [[cell]] 15 [[cell]] 20 [[cell]] 25 [[cell]] 30 [[cell]] 36 [[cell]] 41 [[cell]] 48 [[cell]] 69 [[cell]] [all …]
|
D | table-1_7.quickbook | 6 [table:table1 Table 1 [[Heading]][[cell]]] 10 [[cell]] 15 [[cell]] 20 [[cell]] 25 [[cell]] 30 [[cell]] 36 [[cell]] 41 [[cell]] 48 [[cell]] 69 [[cell]] [all …]
|
D | table-1_3.quickbook | 8 [[cell]] 13 [[cell]] 18 [[cell]] 24 [[cell]] 29 [[cell]] 38 [[cell]] 45 [[cell]] 58 [table Table with an empty cell
|
/third_party/mindspore/mindspore/compression/quant/ |
D | quant_utils.py | 130 def scale_zp_max_min_from_fake_quant_cell(cell, data_type): argument 132 minq = cell.minq.data.asnumpy() 133 maxq = cell.maxq.data.asnumpy() 135 if cell.mode == 'LEARNED_SCALE': 138 …quant_min, quant_max = get_quant_min_max(data_type, num_bits=cell.num_bits, narrow_range=cell.narr… 139 symmetric = cell.symmetric and not cell.neg_trunc 293 cell = cell_and_name[1] 294 if isinstance(cell, nn.FakeQuantWithMinMaxObserver): 295 print(tplt.format(cell_name, cell.quant_dtype)) 340 cell = cell_and_name[1] [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | roqvideo.c | 41 void ff_apply_vector_2x2(RoqContext *ri, int x, int y, roq_cell *cell) in ff_apply_vector_2x2() argument 50 bptr[0 ] = cell->y[0]; in ff_apply_vector_2x2() 51 bptr[1 ] = cell->y[1]; in ff_apply_vector_2x2() 52 bptr[stride ] = cell->y[2]; in ff_apply_vector_2x2() 53 bptr[stride+1] = cell->y[3]; in ff_apply_vector_2x2() 62 bptr[stride+1] = cell->u; in ff_apply_vector_2x2() 68 bptr[stride+1] = cell->v; in ff_apply_vector_2x2() 71 void ff_apply_vector_4x4(RoqContext *ri, int x, int y, roq_cell *cell) in ff_apply_vector_4x4() argument 80 bptr[ 0] = bptr[ 1] = bptr[stride ] = bptr[stride +1] = cell->y[0]; in ff_apply_vector_4x4() 81 bptr[ 2] = bptr[ 3] = bptr[stride +2] = bptr[stride +3] = cell->y[1]; in ff_apply_vector_4x4() [all …]
|
D | indeo3.c | 231 static int copy_cell(Indeo3DecodeContext *ctx, Plane *plane, Cell *cell) in copy_cell() argument 237 offset_dst = (cell->ypos << 2) * plane->pitch + (cell->xpos << 2); in copy_cell() 239 if(cell->mv_ptr){ in copy_cell() 240 mv_y = cell->mv_ptr[0]; in copy_cell() 241 mv_x = cell->mv_ptr[1]; in copy_cell() 246 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in copy_cell() 247 ((cell->ypos + cell->height) << 2) + mv_y > plane->height || in copy_cell() 248 ((cell->xpos + cell->width) << 2) + mv_x > plane->width) { in copy_cell() 257 h = cell->height << 2; in copy_cell() 259 for (w = cell->width; w > 0;) { in copy_cell() [all …]
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/ |
D | cell.cc | 24 ParameterCell::ParameterCell(const ParameterCell &cell) { in ParameterCell() argument 25 auto tmp_ptr = cell.tensor_.Clone(); in ParameterCell() 30 ParameterCell &ParameterCell::operator=(const ParameterCell &cell) { in operator =() argument 31 if (&cell == this) { in operator =() 34 auto tmp_ptr = cell.tensor_.Clone(); in operator =() 40 ParameterCell::ParameterCell(ParameterCell &&cell) : tensor_(cell.tensor_) {} in ParameterCell() argument 42 ParameterCell &ParameterCell::operator=(ParameterCell &&cell) { in operator =() argument 43 if (&cell == this) { in operator =() 46 tensor_ = cell.tensor_; in operator =() 146 InputAndOutput::InputAndOutput(const std::shared_ptr<CellBase> &cell, const std::vector<InputAndOut… in InputAndOutput() argument [all …]
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | ucmstate.cpp | 335 int32_t entry, sum, state, cell, count; in sumUpStates() local 355 for(cell=0; cell<256; ++cell) { in sumUpStates() 356 entry=states->stateTable[state][cell]; in sumUpStates() 360 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 364 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 375 for(cell=0; cell<256; ++cell) { in sumUpStates() 376 entry=states->stateTable[state][cell]; in sumUpStates() 379 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates() 412 for(cell=0; cell<256; ++cell) { in sumUpStates() 413 entry=states->stateTable[state][cell]; in sumUpStates() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/ |
D | ucmstate.cpp | 335 int32_t entry, sum, state, cell, count; in sumUpStates() local 355 for(cell=0; cell<256; ++cell) { in sumUpStates() 356 entry=states->stateTable[state][cell]; in sumUpStates() 360 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 364 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 375 for(cell=0; cell<256; ++cell) { in sumUpStates() 376 entry=states->stateTable[state][cell]; in sumUpStates() 379 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates() 412 for(cell=0; cell<256; ++cell) { in sumUpStates() 413 entry=states->stateTable[state][cell]; in sumUpStates() [all …]
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | ucmstate.cpp | 335 int32_t entry, sum, state, cell, count; in sumUpStates() local 355 for(cell=0; cell<256; ++cell) { in sumUpStates() 356 entry=states->stateTable[state][cell]; in sumUpStates() 360 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 364 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 375 for(cell=0; cell<256; ++cell) { in sumUpStates() 376 entry=states->stateTable[state][cell]; in sumUpStates() 379 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates() 412 for(cell=0; cell<256; ++cell) { in sumUpStates() 413 entry=states->stateTable[state][cell]; in sumUpStates() [all …]
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | ucmstate.cpp | 335 int32_t entry, sum, state, cell, count; in sumUpStates() local 355 for(cell=0; cell<256; ++cell) { in sumUpStates() 356 entry=states->stateTable[state][cell]; in sumUpStates() 360 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 364 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates() 375 for(cell=0; cell<256; ++cell) { in sumUpStates() 376 entry=states->stateTable[state][cell]; in sumUpStates() 379 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates() 412 for(cell=0; cell<256; ++cell) { in sumUpStates() 413 entry=states->stateTable[state][cell]; in sumUpStates() [all …]
|
/third_party/skia/tests/ |
D | PDFTaggedTableTest.cpp | 75 auto cell = std::make_unique<PDFTag>(); in DEF_TEST() local 77 cell->fNodeId = 10 + cellIndex; in DEF_TEST() 79 cell->fTypeString = "NonStruct"; in DEF_TEST() 81 cell->fTypeString = "TH"; in DEF_TEST() 83 cell->fTypeString = "TD"; in DEF_TEST() 87 cell->fAttributes.appendNodeIdArray( in DEF_TEST() 92 cell->fAttributes.appendInt("Table", "RowSpan", 2); in DEF_TEST() 94 cell->fAttributes.appendInt("Table", "ColSpan", 2); in DEF_TEST() 96 cell->fAttributes.appendName( in DEF_TEST() 99 cells.push_back(std::move(cell)); in DEF_TEST()
|
/third_party/mindspore/tests/perf_test/mind_expression_perf/ |
D | process_data.py | 39 date = [cell[0].value for cell in sheet["A2":"A%d" % n_row]] 40 reid_data = [float(cell[0].value) for cell in sheet["B2":"B%d" % n_row]] 41 bert_data = [float(cell[0].value) for cell in sheet["C2":"C%d" % n_row]] 42 resnet_data = [float(cell[0].value) for cell in sheet["D2":"D%d" % n_row]] 43 gpt_data = [float(cell[0].value) for cell in sheet["E43":"E%d" % n_row]]
|
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/ |
D | cell_py.cc | 25 void CellPy::AddAttr(CellPtr cell, const std::string &name, const py::object &obj) { in AddAttr() argument 27 MS_EXCEPTION_IF_NULL(cell); in AddAttr() 35 MS_LOG(DEBUG) << cell->ToString() << " add attr " << name << converted_ret->ToString(); in AddAttr() 36 cell->AddAttr(name, converted_ret); in AddAttr() 50 [](const Cell &cell) { // __getstate__ in __anona0da55530102() argument 52 return py::make_tuple(py::str(cell.name())); in __anona0da55530102()
|
/third_party/python/Lib/ctypes/test/ |
D | test_incomplete.py | 13 class cell(Structure): class 17 SetPointerType(lpcell, cell) 19 c1 = cell() 21 c2 = cell() 37 del _pointer_type_cache[cell]
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_pipeline_split.py | 80 cell = MatMulCell(strategy1, strategy2, param) 81 cell.pipeline_stage = i 82 self.block.append(cell) 93 self.cell = Net(strategy1, strategy2) 94 self.cell.block[0].matmul.add_prim_attr("parameter_start", 0) 97 x = self.cell(x) 105 self.cell = Net(strategy1, strategy2, self.param) 106 self.cell.block[0].matmul.add_prim_attr("parameter_start", 0) 109 x = self.cell(x) 121 params = net.network.cell.block[0].trainable_params() [all …]
|
/third_party/skia/third_party/externals/freetype/src/smooth/ |
D | ftgrays.c | 496 PCell cell; /* current cell */ member 529 ras.cell->cover = ADD_INT( ras.cell->cover, a ), \ 530 ras.cell->area = ADD_INT( ras.cell->area, (a) * (TArea)(b) ) 552 PCell cell = ras.ycells[y - ras.min_ey]; in gray_dump_cells() local 557 for ( ; cell != ras.cell_null; cell = cell->next ) in gray_dump_cells() 559 cell->x, cell->cover, cell->area ); in gray_dump_cells() 589 ras.cell = ras.cell_null; in gray_set_cell() 593 PCell cell; in gray_set_cell() local 600 cell = *pcell; in gray_set_cell() 602 if ( cell->x > ex ) in gray_set_cell() [all …]
|