/third_party/mindspore/tests/st/auto_parallel/ |
D | multifieldembeddinglookup_parallel.py | 179 param_init, target, slice_mode, sparse, operator, indices, field_ids): argument 183 param_init=param_init, target=target, slice_mode=slice_mode, 188 if slice_mode == "table_column_slice": 190 elif slice_mode == "table_row_slice": 192 elif slice_mode == "batch_slice": 203 param_init, target, slice_mode, sparse, operator, indices, field_ids): argument 209 self.slice_mode = slice_mode 269 … slice_mode=self.slice_mode, sparse=self.sparse, operator=self.operator, 277 … slice_mode=self.slice_mode, sparse=self.sparse, operator=self.operator, 285 … slice_mode=self.slice_mode, sparse=self.sparse, operator=self.operator, [all …]
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_multi_field_embedding.py | 59 …def __init__(self, shape, field_size=10, slice_mode=nn.EmbeddingLookup.BATCH_SLICE, target="Device… argument 63 … field_size=field_size, slice_mode=slice_mode, operator=operator) 95 …net = NetWithLoss(Net(shape, field_size=9, slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, target='… 102 …net = NetWithLoss(Net(shape, field_size=10, slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, targ… 116 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, op… 123 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, opera… 137 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_COLUMN_SLICE, op… 144 …net = NetWithLoss(Net(shape, target='DEVICE', slice_mode=nn.EmbeddingLookup.TABLE_ROW_SLICE, opera…
|
/third_party/boost/boost/histogram/algorithm/ |
D | reduce.hpp | 125 enum class slice_mode { shrink, crop }; enum 139 slice_mode mode = slice_mode::shrink) { in slice() 149 r.crop = mode == slice_mode::crop; in slice() 164 slice_mode mode = slice_mode::shrink) { in slice() 291 slice_mode mode = slice_mode::shrink) { in slice_and_rebin() 311 slice_mode mode = slice_mode::shrink) { in slice_and_rebin()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | slice_patches_ir.cc | 26 …atchesOperation::SlicePatchesOperation(int32_t num_height, int32_t num_width, SliceMode slice_mode, in SlicePatchesOperation() argument 31 slice_mode_(slice_mode), in SlicePatchesOperation() 66 SliceMode slice_mode = static_cast<SliceMode>(op_params["slice_mode"]); in from_json() local 68 …*operation = std::make_shared<vision::SlicePatchesOperation>(num_height, num_width, slice_mode, fi… in from_json()
|
D | slice_patches_ir.h | 39 …SlicePatchesOperation(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_va…
|
/third_party/mindspore/mindspore/nn/layer/ |
D | embedding.py | 224 target='CPU', slice_mode='batch_slice', manual_shapes=None, argument 246 self._process_vocab_cache(slice_mode) 264 if slice_mode == "field_slice" and is_auto_parallel: 277 elif slice_mode == "table_row_slice" and is_auto_parallel: 286 elif slice_mode == "table_column_slice" and is_auto_parallel: 294 elif slice_mode == "batch_slice" and is_auto_parallel: 304 "but got \"{}\".".format(self.cls_name, support_mode, slice_mode)) 335 def _process_vocab_cache(self, slice_mode): argument 354 if rank_size > 1 and not (full_batch and slice_mode == "table_row_slice"): 477 … slice_mode='batch_slice', feature_num_list=None, max_norm=None, sparse=True, operator='SUM'): argument [all …]
|
D | thor_layer.py | 721 target='CPU', slice_mode='batch_slice', manual_shapes=None, argument 745 self._process_vocab_cache(slice_mode) 763 if slice_mode == "field_slice" and is_auto_parallel: 776 elif slice_mode == "table_row_slice" and is_auto_parallel: 785 elif slice_mode == "table_column_slice" and is_auto_parallel: 793 elif slice_mode == "batch_slice" and is_auto_parallel: 865 def _process_vocab_cache(self, slice_mode): argument 885 if rank_size > 1 and not (full_batch and slice_mode == "table_row_slice"):
|
/third_party/ffmpeg/libavcodec/ |
D | libopenh264enc.c | 45 int slice_mode; member 66 …{ "slice_mode", "set slice mode, use slices/max_nal_size", OFFSET(slice_mode), AV_OPT_TYPE_INT, { … 68 …{ "slice_mode", "set slice mode, use slices/max_nal_size", OFFSET(slice_mode), AV_OPT_TYPE_INT, { … 312 s->slice_mode = SM_FIXEDSLCNUM_SLICE; in svc_encode_init() 315 s->slice_mode = SM_SIZELIMITED_SLICE; in svc_encode_init() 318 param.sSpatialLayers[0].sSliceArgument.uiSliceMode = s->slice_mode; in svc_encode_init() 321 param.sSpatialLayers[0].sSliceCfg.uiSliceMode = s->slice_mode; in svc_encode_init() 324 if (avctx->slices == 0 && s->slice_mode == SM_FIXEDSLCNUM_SLICE) in svc_encode_init() 327 if (s->slice_mode == SM_SIZELIMITED_SLICE) { in svc_encode_init()
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264enc.cpp | 406 openh264enc->slice_mode = DEFAULT_SLICE_MODE; in gst_openh264enc_init() 533 openh264enc->slice_mode = in gst_openh264enc_set_property() 621 g_value_set_enum (value, openh264enc->slice_mode); in gst_openh264enc_get_property() 733 SliceModeEnum slice_mode = SM_SINGLE_SLICE; in gst_openh264enc_set_format() local 816 if (openh264enc->slice_mode == GST_OPENH264_SLICE_MODE_N_SLICES) { in gst_openh264enc_set_format() 818 slice_mode = SM_SINGLE_SLICE; in gst_openh264enc_set_format() 820 slice_mode = SM_FIXEDSLCNUM_SLICE; in gst_openh264enc_set_format() 822 } else if (openh264enc->slice_mode == GST_OPENH264_SLICE_MODE_AUTO) { in gst_openh264enc_set_format() 824 slice_mode = SM_AUTO_SLICE; in gst_openh264enc_set_format() 826 slice_mode = SM_FIXEDSLCNUM_SLICE; in gst_openh264enc_set_format() [all …]
|
D | gstopenh264enc.h | 91 GstOpenh264EncSliceMode slice_mode; member
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | slice_patches_op.cc | 27 SlicePatchesOp::SlicePatchesOp(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t… in SlicePatchesOp() argument 28 …: num_height_(num_height), num_width_(num_width), slice_mode_(slice_mode), fill_value_(fill_value)… in SlicePatchesOp()
|
D | slice_patches_op.h | 38 …SlicePatchesOp(int32_t num_height = kDefNumH, int32_t num_width = kDefNumW, SliceMode slice_mode =…
|
D | image_utils.h | 366 … int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value); 376 SliceMode slice_mode);
|
D | image_utils.cc | 1511 SliceMode slice_mode) { in ComputePatchSize() argument 1531 if (slice_mode == SliceMode::kPad) { in ComputePatchSize() 1537 if (slice_mode == SliceMode::kPad) { in ComputePatchSize() 1547 … int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value) { in SlicePatches() argument 1558 RETURN_IF_NOT_OK(ComputePatchSize(input_cv, &patch_size, num_height, num_width, slice_mode)); in SlicePatches() 1565 if (slice_mode == SliceMode::kPad) { // padding on right and bottom directions in SlicePatches()
|
/third_party/boost/libs/histogram/test/ |
D | algorithm_reduce_test.cpp | 222 auto hr2 = reduce(h, slice(1, 3, slice_mode::crop), in run_tests() 223 slice_and_rebin(1, 3, 2, slice_mode::crop)); in run_tests() 229 auto hr4 = reduce(h, slice_and_rebin(1, 1, 3, 2, slice_mode::crop), in run_tests() 230 slice(0, 1, 3, slice_mode::crop)); in run_tests()
|
/third_party/gstreamer/gstplugins_bad/sys/uvch264/ |
D | gstuvch264_src.h | 130 UvcH264SliceMode slice_mode; member
|
D | gstuvch264_src.c | 536 self->slice_mode = DEFAULT_SLICE_MODE; in gst_uvc_h264_src_init() 620 self->slice_mode = g_value_get_enum (value); in gst_uvc_h264_src_set_property() 1824 probe->wSliceMode = self->slice_mode; in fill_probe_commit()
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | c_transforms.py | 1704 def __init__(self, num_height=1, num_width=1, slice_mode=SliceMode.PAD, fill_value=0): argument 1707 self.slice_mode = slice_mode 1712 DE_C_SLICE_MODE[self.slice_mode], self.fill_value)
|
D | validators.py | 516 … [num_height, num_width, slice_mode, fill_value], _ = parse_user_args(method, *args, **kwargs) 523 if slice_mode is not None: 524 type_check(slice_mode, (SliceMode,), "slice_mode")
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 948 Data(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value) in Data() 949 …: num_height_(num_height), num_width_(num_width), slice_mode_(slice_mode), fill_value_(fill_value)… in Data() 956 SlicePatches::SlicePatches(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fil… in SlicePatches() argument 957 : data_(std::make_shared<Data>(num_height, num_width, slice_mode, fill_value)) {} in SlicePatches()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/image/ |
D | bindings.cc | 587 ….def(py::init([](int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value) { in __anon574f76b45602() argument 589 … std::make_shared<vision::SlicePatchesOperation>(num_height, num_width, slice_mode, fill_value); in __anon574f76b45602()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | vision.h | 919 …SlicePatches(int32_t num_height = 1, int32_t num_width = 1, SliceMode slice_mode = SliceMode::kPad,
|
/third_party/ffmpeg/doc/ |
D | encoders.texi | 1853 is 0. This is only used when @option{slice_mode} is set to 1856 @item slice_mode
|