Home
last modified time | relevance | path

Searched refs:data_list (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_minddataset.py939 data_list = []
950 data_list.append(data_json)
953 return data_list
972 data_list = []
985 data_list.append(data_json)
988 return data_list
1006 data_list = []
1027 data_list.append(data_json)
1030 len(file_list) - len(data_list)))
1031 return data_list
[all …]
Dtest_paddeddataset.py381 data_list = []
392 data_list.append(data_json)
395 return data_list
Dtest_minddataset_padded.py600 data_list = []
611 data_list.append(data_json)
614 return data_list
Dtest_minddataset_sampler.py779 data_list = []
790 data_list.append(data_json)
793 return data_list
/third_party/mindspore/tests/ut/python/mindrecord/
Dutils.py44 data_list = []
54 data_list.append(data_json)
57 return data_list
75 data_list = []
91 data_list.append(data_json)
94 return data_list
113 data_list = []
126 data_list.append(data_json)
129 return data_list
147 data_list = []
[all …]
/third_party/mindspore/mindspore/mindrecord/tools/
Dmnist_to_mr.py152 data_list = []
155 data_list.append(train_iter.__next__())
157 self.writer_train.write_raw_data(data_list)
160 if data_list:
161 self.writer_train.write_raw_data(data_list)
201 data_list = []
204 data_list.append(train_iter.__next__())
206 self.writer_test.write_raw_data(data_list)
209 if data_list:
210 self.writer_test.write_raw_data(data_list)
Dimagenet_to_mr.py158 data_list = []
161 data_list.append(imagenet_iter.__next__())
163 self.writer.write_raw_data(data_list)
166 if data_list:
167 self.writer.write_raw_data(data_list)
Dcsv_to_mr.py161 data_list = []
164 data_list.append(csv_iter.__next__())
166 self.writer.write_raw_data(data_list)
169 if data_list:
170 self.writer.write_raw_data(data_list)
Dtfrecord_to_mr.py298 data_list = []
301 data_list.append(tf_iter.__next__())
304 writer.write_raw_data(data_list)
307 if data_list:
308 writer.write_raw_data(data_list)
Dcifar10_to_mr.py101 data_list = _construct_raw_data(images, labels)
104 if _generate_mindrecord(self.destination, data_list, fields, "img_train") != SUCCESS:
Dcifar100_to_mr.py105 data_list = _construct_raw_data(images, fine_labels, coarse_labels)
108 if _generate_mindrecord(self.destination, data_list, fields, "img_train") != SUCCESS:
/third_party/mindspore/tests/st/fl/albert/src/
Ddataset.py84 data_list = data.split('\n<<<')
86 for key in data_list[1:]:
96 del data, data_list, input_list
110 data_list = data.split('\n<<<')
112 for key in data_list[1:]:
126 def create_ms_dataset(data_list, label_list, max_seq_length, tokenizer, batch_size, do_shuffle=True, argument
128 features = convert_examples_to_features(data_list, label_list, max_seq_length, tokenizer,
/third_party/mindspore/tests/ut/python/pipeline/infer/
Dinfer.py69 data_list = []
71 data_list.append(data.asnumpy())
72 batch_data = np.concatenate(data_list, axis=0).transpose((0, 3, 1, 2))
/third_party/mindspore/tests/st/ops/ascend/
Dtest_tdt_data_ms.py33 data_list = ["{0}/train-00001-of-01024.data".format(data_path)]
34 data_set_new = ds.TFRecordDataset(data_list, schema=SCHEMA_DIR,
/third_party/mindspore/tests/ut/python/nn/
Dtest_parameter.py62 data_list = [1, "2", True]
83 Parameter(tensor, name=data_list)
99 Parameter(tensor, name=data_str, requires_grad=data_list)
115 Parameter(tensor, name=data_str, requires_grad=data_bool, layerwise_parallel=data_list)
/third_party/mindspore/mindspore/train/
Dserialization.py147 def _exec_save(ckpt_file_name, data_list, enc_key=None, enc_mode="AES-GCM"): argument
158 for name, value in data_list.items():
264 data_list = {}
268 data_list[key] = []
277 data_list[key].append(dims)
279 data_list[key].append(tensor_type)
281 data_list[key].append(data)
285 …thr = Thread(target=_exec_save, args=(ckpt_file_name, data_list, enc_key, enc_mode), name="asyn_sa…
288 _exec_save(ckpt_file_name, data_list, enc_key, enc_mode)
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c7521 struct sctp_tmit_chunk **data_list, argument
7530 TAILQ_REMOVE(&asoc->send_queue, data_list[i], sctp_next);
7538 data_list[i]->do_rtt = 0;
7541 data_list[i]->sent_rcv_time = net->last_sent_time;
7542 data_list[i]->rec.data.cwnd_at_send = net->cwnd;
7543 data_list[i]->rec.data.fast_retran_tsn = data_list[i]->rec.data.tsn;
7544 if (data_list[i]->whoTo == NULL) {
7545 data_list[i]->whoTo = net;
7550 if ((tp1) && SCTP_TSN_GT(tp1->rec.data.tsn, data_list[i]->rec.data.tsn)) {
7557 TAILQ_INSERT_BEFORE(tp1, data_list[i], sctp_next);
[all …]
/third_party/cef/libcef/browser/extensions/api/tabs/
Dtabs_api.cc394 std::vector<std::unique_ptr<std::string>> data_list; in LoadFileComplete() local
399 data_list.push_back(std::move(data)); in LoadFileComplete()
403 DidLoadAndLocalizeFile(file, std::move(data_list), std::move(error)); in LoadFileComplete()
/third_party/mindspore/mindspore/train/summary/
D_summary_adapter.py106 def package_summary_event(data_list, step, wall_time): argument
124 for value in data_list:
/third_party/python/Lib/
Ddifflib.py1755 def _split_line(self,data_list,line_num,text): argument
1766 data_list.append((line_num,text))
1773 data_list.append((line_num,text))
1805 data_list.append((line_num,line1))
1808 self._split_line(data_list,'>',line2)
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_kernel_build.cc1019 std::vector<nlohmann::json> data_list; in GenFusionScopeJson() local
1027 data_list.push_back(data_str); in GenFusionScopeJson()
1031 data_list.insert(data_list.end(), compute_list.begin(), compute_list.end()); in GenFusionScopeJson()
1032 (*fusion_json)[kFusionOpList] = data_list; in GenFusionScopeJson()