Home
last modified time | relevance | path

Searched refs:default_dict (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/tests/ut/data/dataset/testAlbum/
Dgen_json.py14 default_dict = {} variable
15 default_dict.update(dataset='')
16 default_dict.update(image=os.path.abspath(os.path.join(DIRECTORY, filename)))
17 default_dict.update(label=['3', '2'])
18 default_dict.update(_priority=[0.8, 0.3])
19 default_dict.update(_embedding=os.path.abspath(os.path.join(PARENT_DIR, 'sample.bin')))
20 default_dict.update(_processed_image=os.path.abspath(os.path.join(DIRECTORY, filename)))
22 dump_json_from_dict(default_dict, PARENT_DIR + '/images/'+str(i))
/third_party/gn/src/gn/
Dcommand_args.cc190 base::DictionaryValue default_dict; in BuildArgJson() local
192 default_dict.SetKey("value", base::Value(arg.default_value.ToString(true))); in BuildArgJson()
198 default_dict.SetKey("file", base::Value(location)); in BuildArgJson()
199 default_dict.SetKey("line", base::Value(line_no)); in BuildArgJson()
201 dict.SetKey("default", std::move(default_dict)); in BuildArgJson()