Home
last modified time | relevance | path

Searched refs:device_number (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/tests/ut/python/parallel/
Dtest_gather_v2_primitive.py34 device_number = 32 variable
138 ….set_auto_parallel_context(parallel_mode=ParallelMode.SEMI_AUTO_PARALLEL, device_num=device_number,
158 …terion = GatherV2(1, strategy=gather_v2_strategy, index_size=batch_size_per_device * device_number)
165 …terion = GatherV2(2, strategy=gather_v2_strategy, index_size=batch_size_per_device * device_number)
171 gather_v2_strategy = ((device_number, 1),)
172 …terion = GatherV2(1, strategy=gather_v2_strategy, index_size=batch_size_per_device * device_number)
180 …terion = GatherV2(1, strategy=gather_v2_strategy, index_size=batch_size_per_device * device_number)
185 gather_v2_strategy = ((1, device_number),)
187 …terion = GatherV2(1, strategy=gather_v2_strategy, index_size=batch_size_per_device * device_number)
194 …terion = GatherV2(1, strategy=gather_v2_strategy, index_size=batch_size_per_device * device_number)
[all …]
/third_party/alsa-utils/bat/tests/
Danalog_audio_playback_and_capture.sh32 device_number=$(aplay -l | grep "Analog"| cut -d " " -f 8 |cut -b 1)
33 if [ "$device_number" = "" ]; then
39 device="hw:$card_number,$device_number"
/third_party/mindspore/mindspore/boost/
Dadasum.py165 def __init__(self, rank, device_number, group_number, parameter_tuple): argument
168 self.device_number = device_number
187 group_start_rank = (self.rank // self.device_number) * self.device_number
190 current_group = self.device_number * (2 ** step)
202 node_rank = self.rank // self.device_number
204 neighbor_id = (node_rank // double_d * double_d + index) * self.device_number + \
205 self.rank % self.device_number
268 … broadcast_group = [x for x in range(group_start_rank, group_start_rank + self.device_number)]
Dboost_cell_wrapper.py174 self.device_number = _device_number
253 for i in range(self.device_number):
/third_party/mindspore/mindspore/parallel/
D_utils.py222 def _device_number_check(parallel_mode, device_number): argument
230 if parallel_mode == "stand_alone" and device_number != 1:
232 … "device_number: {0}, parallel_mode:{1}".format(device_number, parallel_mode))
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkaudiosink.h53 gint device_number; member
Dgstdecklinkdeviceprovider.cpp80 g_object_set (ret, "device-number", self->device_number, NULL); in gst_decklink_device_create_element()
Dgstdecklinkvideosink.h53 gint device_number; member
Dgstdecklinkaudiosrc.h54 gint device_number; member
Dgstdecklinkaudiosink.cpp185 self->device_number = DEFAULT_DEVICE_NUMBER; in gst_decklink_audio_sink_init()
202 self->device_number = g_value_get_int (value); in gst_decklink_audio_sink_set_property()
235 g_value_set_int (value, self->device_number); in gst_decklink_audio_sink_get_property()
802 gst_decklink_acquire_nth_output (self->device_number, in gst_decklink_audio_sink_open()
830 gst_decklink_release_nth_output (self->device_number, in gst_decklink_audio_sink_close()
Dgstdecklinkvideosrc.h64 gint device_number; member
Dgstdecklinkaudiosrc.cpp228 self->device_number = 0; in gst_decklink_audio_src_init()
263 self->device_number = g_value_get_int (value); in gst_decklink_audio_src_set_property()
294 g_value_set_int (value, self->device_number); in gst_decklink_audio_src_get_property()
942 gst_decklink_acquire_nth_input (self->device_number, in gst_decklink_audio_src_open()
989 gst_decklink_release_nth_input (self->device_number, in gst_decklink_audio_src_close()
Dgstdecklinkvideosrc.cpp398 self->device_number = 0; in gst_decklink_video_src_init()
454 self->device_number = g_value_get_int (value); in gst_decklink_video_src_set_property()
519 g_value_set_int (value, self->device_number); in gst_decklink_video_src_get_property()
1526 gst_decklink_acquire_nth_input (self->device_number, in gst_decklink_video_src_open()
1561 gst_decklink_release_nth_input (self->device_number, in gst_decklink_video_src_close()
Dgstdecklinkvideosink.cpp431 self->device_number = 0; in gst_decklink_video_sink_init()
454 self->device_number = g_value_get_int (value); in gst_decklink_video_sink_set_property()
510 g_value_set_int (value, self->device_number); in gst_decklink_video_sink_get_property()
1365 gst_decklink_acquire_nth_output (self->device_number, in gst_decklink_video_sink_open()
1410 gst_decklink_release_nth_output (self->device_number, in gst_decklink_video_sink_close()
Dgstdecklink.h323 guint device_number; member
Dgstdecklink.cpp1363 guint device_number) in gst_decklink_device_new() argument
1399 "device-number", G_TYPE_UINT, device_number, in gst_decklink_device_new()
1423 GST_DECKLINK_DEVICE (ret)->device_number = device_number; in gst_decklink_device_new()
/third_party/mindspore/mindspore/train/
D_utils.py166 def _construct_input_tensors(dataset_types, dataset_shapes, device_number=1): argument
169 …ist_compile = _construct_tensor_list(dataset_types, dataset_shapes, batch_expand_num=device_number)
Dmodel.py483 cb_params.device_number = self._device_number
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dreshape_info.h88 void device_number();
Dreshape_info.cc291 void ReshapeInfo::device_number() { in device_number() function in mindspore::parallel::ReshapeInfo
321 device_number(); in Init()
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/
Dmodel_thor.py396 cb_params.device_number = self._device_number
/third_party/mindspore/mindspore/train/callback/
D_summary_collector.py721 train_lineage[LineageMetadata.device_num] = cb_params.device_number