text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: onnx/backend/test/data/node/test_reduce_max_default_axes_keepdims_random/test_data_set_0/output_0.pb
BreducedJA_A | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_reduce_max_default_axes_keepdims_random/test_data_set_0/output_0.pb", "license":... |
### File: onnx/backend/test/data/node/test_reduce_sum_square_default_axes_keepdims_random/test_data_set_0/output_0.pb
BreducedJN`C | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_reduce_sum_square_default_axes_keepdims_random/test_data_set_0/output_0.pb", "li... |
### File: onnx/backend/test/data/node/test_reduce_sum_square_default_axes_keepdims_random_expanded/test_data_set_0/output_0.pb
BreducedJN`C | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_reduce_sum_square_default_axes_keepdims_random_expanded/test_data_set_0/output_0... |
### File: onnx/backend/test/data/node/test_regex_full_match_basic/test_data_set_0/input_0.pb
2www.google.com2www.facebook.com2
www.bbc.co.ukBX | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_regex_full_match_basic/test_data_set_0/input_0.pb", "license": "apache-2.0", "si... |
### File: onnx/backend/test/data/node/test_regex_full_match_email_domain/test_data_set_0/input_0.pb
2account@gmail.com2account@hotmail.com2 not email2account2@yahoo.comBX | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_regex_full_match_email_domain/test_data_set_0/input_0.pb", "license": "apache-2.... |
### File: onnx/backend/test/data/node/test_string_concat/test_data_set_0/input_0.pb
2abc2defBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat/test_data_set_0/input_0.pb", "license": "apache-2.0", "size": 17} |
### File: onnx/backend/test/data/node/test_string_concat/test_data_set_0/input_1.pb
2.com2.netBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat/test_data_set_0/input_1.pb", "license": "apache-2.0", "size": 19} |
### File: onnx/backend/test/data/node/test_string_concat/test_data_set_0/output_0.pb
2abc.com2def.netBresult | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat/test_data_set_0/output_0.pb", "license": "apache-2.0", "size": 30} |
### File: onnx/backend/test/data/node/test_string_concat_broadcasting/test_data_set_0/input_0.pb
2cat2dog2snakeBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_broadcasting/test_data_set_0/input_0.pb", "license": "apache-2.0",... |
### File: onnx/backend/test/data/node/test_string_concat_broadcasting/test_data_set_0/input_1.pb
2sBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_broadcasting/test_data_set_0/input_1.pb", "license": "apache-2.0",... |
### File: onnx/backend/test/data/node/test_string_concat_broadcasting/test_data_set_0/output_0.pb
2cats2dogs2snakesBresult | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_broadcasting/test_data_set_0/output_0.pb", "license": "apache-2.0"... |
### File: onnx/backend/test/data/node/test_string_concat_empty_string/test_data_set_0/output_0.pb
2abc2abcBresult | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_empty_string/test_data_set_0/output_0.pb", "license": "apache-2.0"... |
### File: onnx/backend/test/data/node/test_string_concat_utf8/test_data_set_0/input_0.pb
2的2中Bx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_utf8/test_data_set_0/input_0.pb", "license": "apache-2.0", "size":... |
### File: onnx/backend/test/data/node/test_string_concat_utf8/test_data_set_0/input_1.pb
2的2中By | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_utf8/test_data_set_0/input_1.pb", "license": "apache-2.0", "size":... |
### File: onnx/backend/test/data/node/test_string_concat_utf8/test_data_set_0/output_0.pb
2的的2中中Bresult | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_utf8/test_data_set_0/output_0.pb", "license": "apache-2.0", "size"... |
### File: onnx/backend/test/data/node/test_string_concat_zero_dimensional/test_data_set_0/input_0.pb
2catBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_zero_dimensional/test_data_set_0/input_0.pb", "license": "apache-2... |
### File: onnx/backend/test/data/node/test_string_concat_zero_dimensional/test_data_set_0/input_1.pb
2sBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_zero_dimensional/test_data_set_0/input_1.pb", "license": "apache-2... |
### File: onnx/backend/test/data/node/test_string_concat_zero_dimensional/test_data_set_0/output_0.pb
2catsBresult | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_concat_zero_dimensional/test_data_set_0/output_0.pb", "license": "apache-... |
### File: onnx/backend/test/data/node/test_string_split_basic/test_data_set_0/input_0.pb
2abc.com2def.netBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_basic/test_data_set_0/input_0.pb", "license": "apache-2.0", "size":... |
### File: onnx/backend/test/data/node/test_string_split_basic/test_data_set_0/output_0.pb
2abc2com2def2netB
substrings | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_basic/test_data_set_0/output_0.pb", "license": "apache-2.0", "size"... |
### File: onnx/backend/test/data/node/test_string_split_consecutive_delimiters/test_data_set_0/input_0.pb
2 o-n-n--x-2 o-n----nxBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_consecutive_delimiters/test_data_set_0/input_0.pb", "license": "apa... |
### File: onnx/backend/test/data/node/test_string_split_empty_string_delimiter/test_data_set_0/input_0.pb
2
hello world !2 hello world !2 hello world ! Bx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_empty_string_delimiter/test_data_set_0/input_0.pb", "license": "apa... |
### File: onnx/backend/test/data/node/test_string_split_empty_string_delimiter/test_data_set_0/output_0.pb
2hello2world2!2hello2world2!2hello2world2!B
substrings | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_empty_string_delimiter/test_data_set_0/output_0.pb", "license": "ap... |
### File: onnx/backend/test/data/node/test_string_split_maxsplit/test_data_set_0/input_0.pb
2hello world2def.net2o n n x2the quick brown foxBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_maxsplit/test_data_set_0/input_0.pb", "license": "apache-2.0", "siz... |
### File: onnx/backend/test/data/node/test_string_split_no_delimiter/test_data_set_0/input_0.pb
2
hello world !2 hello world !2 hello world ! Bx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_no_delimiter/test_data_set_0/input_0.pb", "license": "apache-2.0", ... |
### File: onnx/backend/test/data/node/test_string_split_no_delimiter/test_data_set_0/output_0.pb
2hello2world2!2hello2world2!2hello2world2!B
substrings | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_string_split_no_delimiter/test_data_set_0/output_0.pb", "license": "apache-2.0",... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_lower/test_data_set_0/input_0.pb
2monday2tuesday2 wednesday2thursdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_lower/test_data_set_0/input_0.pb", "l... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_lower/test_data_set_0/output_0.pb
2tuesday2 wednesday2thursdayBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_lower/test_data_set_0/output_0.pb", "... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_nochangecase/test_data_set_0/input_0.pb
2monday2tuesday2 wednesday2thursdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_nochangecase/test_data_set_0/input_0.... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_nochangecase/test_data_set_0/output_0.pb
2tuesday2 wednesday2thursdayBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_nochangecase/test_data_set_0/output_0... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_upper/test_data_set_0/input_0.pb
2monday2tuesday2 wednesday2thursdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_upper/test_data_set_0/input_0.pb", "l... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_upper/test_data_set_0/output_0.pb
2TUESDAY2 WEDNESDAY2THURSDAYBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_casesensintive_upper/test_data_set_0/output_0.pb", "... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_empty_output/test_data_set_0/input_0.pb
2monday2mondayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_empty_output/test_data_set_0/input_0.pb", "license":... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_insensintive_upper_twodim/test_data_set_0/input_0.pb
2Monday2tuesday2 wednesday2Monday2tuesday2 wednesdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_insensintive_upper_twodim/test_data_set_0/input_0.pb... |
### File: onnx/backend/test/data/node/test_strnormalizer_export_monday_insensintive_upper_twodim/test_data_set_0/output_0.pb
2TUESDAY2 WEDNESDAY2TUESDAY2 WEDNESDAYBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_export_monday_insensintive_upper_twodim/test_data_set_0/output_0.p... |
### File: onnx/backend/test/data/node/test_strnormalizer_nostopwords_nochangecase/test_data_set_0/input_0.pb
2monday2tuesdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_nostopwords_nochangecase/test_data_set_0/input_0.pb", "license": "... |
### File: onnx/backend/test/data/node/test_strnormalizer_nostopwords_nochangecase/test_data_set_0/output_0.pb
2monday2tuesdayBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_strnormalizer_nostopwords_nochangecase/test_data_set_0/output_0.pb", "license": ... |
### File: onnx/backend/test/data/node/test_sub_uint8/test_data_set_0/input_0.pb
BxJ<
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_sub_uint8/test_data_set_0/input_0.pb", "license": "apache-2.0", "size": 73} |
### File: onnx/backend/test/data/node/test_sub_uint8/test_data_set_0/output_0.pb
BzJ<
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_sub_uint8/test_data_set_0/output_0.pb", "license": "apache-2.0", "size": 73} |
### File: onnx/backend/test/data/node/test_training_dropout_default/test_data_set_0/input_2.pb
BtJ | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_training_dropout_default/test_data_set_0/input_2.pb", "license": "apache-2.0", "... |
### File: onnx/backend/test/data/node/test_training_dropout_default_mask/test_data_set_0/input_2.pb
BtJ | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_training_dropout_default_mask/test_data_set_0/input_2.pb", "license": "apache-2.... |
### File: onnx/backend/test/data/node/test_training_dropout_mask/test_data_set_0/input_2.pb
BtJ | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_training_dropout_mask/test_data_set_0/input_2.pb", "license": "apache-2.0", "siz... |
### File: onnx/backend/test/data/node/test_training_dropout_zero_ratio/test_data_set_0/input_2.pb
BtJ | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_training_dropout_zero_ratio/test_data_set_0/input_2.pb", "license": "apache-2.0"... |
### File: onnx/backend/test/data/node/test_training_dropout_zero_ratio_mask/test_data_set_0/input_2.pb
BtJ | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_training_dropout_zero_ratio_mask/test_data_set_0/input_2.pb", "license": "apache... |
### File: onnx/backend/test/data/node/test_training_dropout_zero_ratio_mask/test_data_set_0/output_1.pb
BzJ< | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/node/test_training_dropout_zero_ratio_mask/test_data_set_0/output_1.pb", "license": "apach... |
### File: onnx/backend/test/data/pytorch-operator/test_operator_basic/test_data_set_0/input_1.pb
J333? | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/pytorch-operator/test_operator_basic/test_data_set_0/input_1.pb", "license": "apache-2.0",... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_lower/test_data_set_0/input_0.pb
2monday2tuesday2 wednesday2thursdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_lower/test_data_set_0/input_0.pb", "licens... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_lower/test_data_set_0/output_0.pb
2tuesday2 wednesday2thursdayBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_lower/test_data_set_0/output_0.pb", "licen... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_nochangecase/test_data_set_0/input_0.pb
2monday2tuesday2 wednesday2thursdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_nochangecase/test_data_set_0/input_0.pb", ... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_nochangecase/test_data_set_0/output_0.pb
2tuesday2 wednesday2thursdayBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_nochangecase/test_data_set_0/output_0.pb",... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_upper/test_data_set_0/input_0.pb
2monday2tuesday2 wednesday2thursdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_upper/test_data_set_0/input_0.pb", "licens... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_upper/test_data_set_0/output_0.pb
2TUESDAY2 WEDNESDAY2THURSDAYBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_casesensintive_upper/test_data_set_0/output_0.pb", "licen... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_empty_output/test_data_set_0/input_0.pb
2monday2mondayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_empty_output/test_data_set_0/input_0.pb", "license": "apa... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_insensintive_upper_twodim/test_data_set_0/input_0.pb
2Monday2tuesday2 wednesday2Monday2tuesday2 wednesdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_insensintive_upper_twodim/test_data_set_0/input_0.pb", "l... |
### File: onnx/backend/test/data/simple/test_strnorm_model_monday_insensintive_upper_twodim/test_data_set_0/output_0.pb
2TUESDAY2 WEDNESDAY2TUESDAY2 WEDNESDAYBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_monday_insensintive_upper_twodim/test_data_set_0/output_0.pb", "... |
### File: onnx/backend/test/data/simple/test_strnorm_model_nostopwords_nochangecase/test_data_set_0/input_0.pb
2monday2tuesdayBx | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_nostopwords_nochangecase/test_data_set_0/input_0.pb", "license":... |
### File: onnx/backend/test/data/simple/test_strnorm_model_nostopwords_nochangecase/test_data_set_0/output_0.pb
2monday2tuesdayBy | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PureBasic", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/data/simple/test_strnorm_model_nostopwords_nochangecase/test_data_set_0/output_0.pb", "license"... |
### File: onnx/backend/test/loader/__init__.py
# Copyright (c) ONNX Project Contributors
# SPDX-License-Identifier: Apache-2.0
import json
import os
from typing import List, Optional
from onnx.backend.test.case.test_case import TestCase
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(os.path.dirname(_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/loader/__init__.py", "license": "apache-2.0", "size": 1807} |
### File: onnx/backend/test/report/__init__.py
# Copyright (c) ONNX Project Contributors
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Dict, Sequence
import _pytest
import pytest
from onnx.backend.test.report.coverage import Coverage
_coverage = Coverage()
_marks: Dict[str, Sequence[Any]] = {}
de... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/report/__init__.py", "license": "apache-2.0", "size": 1217} |
### File: onnx/backend/test/report/base.py
# Copyright (c) ONNX Project Contributors
# SPDX-License-Identifier: Apache-2.0
class ReporterBase:
pass
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/report/base.py", "license": "apache-2.0", "size": 112} |
### File: onnx/backend/test/report/coverage.py
# Copyright (c) ONNX Project Contributors
# SPDX-License-Identifier: Apache-2.0
import csv
import datetime
import os
from collections import OrderedDict, defaultdict
from typing import IO, Any, Dict, List, Optional, Set
from tabulate import tabulate
import onnx
from on... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/report/coverage.py", "license": "apache-2.0", "size": 10994} |
### File: onnx/backend/test/runner/__init__.py
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
from __future__ import annotations
import functools
import glob
import os
import re
import shutil
import sys
import tarfile
import tempfile
import time
import unittest
from collections impo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/runner/__init__.py", "license": "apache-2.0", "size": 19998} |
### File: onnx/backend/test/runner/item.py
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
import dataclasses
from typing import Any, Callable, List, Optional, Union
from onnx import ModelProto, NodeProto
# A container that hosts the test function and the associated
# test item (Mod... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/runner/item.py", "license": "apache-2.0", "size": 412} |
### File: onnx/backend/test/stat_coverage.py
#!/usr/bin/env python
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
import os
from typing import IO, Any, Dict, List, Sequence
from onnx import AttributeProto, defs, load
from onnx.backend.test.case import collect_snippets
from onnx.bac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/backend/test/stat_coverage.py", "license": "apache-2.0", "size": 11506} |
### File: onnx/checker.cc
// Copyright (c) ONNX Project Contributors
//
// SPDX-License-Identifier: Apache-2.0
#include "onnx/checker.h"
#include <fstream>
#include <functional>
#include <iterator>
#include <set>
#include <string>
#include <unordered_set>
#include <vector>
#include "onnx/common/file_utils.h"
#includ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/checker.cc", "license": "apache-2.0", "size": 39360} |
### File: onnx/checker.h
// Copyright (c) ONNX Project Contributors
//
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include "onnx/defs/function.h"
#include "onnx/defs/schema.h"
#include "onnx/onnx-data... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/checker.h", "license": "apache-2.0", "size": 5707} |
### File: onnx/checker.py
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
"""Graph utilities for checking whether an ONNX proto message is legal."""
from __future__ import annotations
__all__ = [
"check_attribute",
"check_function",
"check_graph",
"check_model",
"... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/checker.py", "license": "apache-2.0", "size": 4649} |
### File: onnx/common/array_ref.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
//===--- ArrayRef.h - Array Reference Wrapper -------------------... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/array_ref.h", "license": "apache-2.0", "size": 5652} |
### File: onnx/common/assertions.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#include "onnx/common/assertions.h"
#include <cstdarg>
#includ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/assertions.cc", "license": "apache-2.0", "size": 936} |
### File: onnx/common/assertions.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#pragma once
#include <stdexcept>
#include <string>
namespace ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/assertions.h", "license": "apache-2.0", "size": 3042} |
### File: onnx/common/common.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#define ONNX_UNUSED_PARAMETER(x) (void)(x)
#ifdef ONNX_NO_EXCEPTIONS
#include <iostream>
#define ONNX_THROW(...) \
do { ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/common.h", "license": "apache-2.0", "size": 1690} |
### File: onnx/common/constants.h
// Copyright (c) ONNX Project Contributors
//
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <string>
namespace ONNX_NAMESPACE {
// For ONNX op/function registration.
// ONNX domains.
constexpr const char* AI_ONNX_ML_DOMAIN = "ai.onnx.ml";
constexpr const char* AI_ONN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/constants.h", "license": "apache-2.0", "size": 1488} |
### File: onnx/common/file_utils.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <fstream>
#include <string>
#include "onnx/checker.h"
#include "onnx/common/path.h"
namespace ONNX_NAMESPACE {
template <typename T>
void LoadProtoFromPath(const std::s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/file_utils.h", "license": "apache-2.0", "size": 860} |
### File: onnx/common/graph_node_list.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#include "onnx/common/assertions.h"
namespace ONNX_NAMESPA... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/graph_node_list.h", "license": "apache-2.0", "size": 5403} |
### File: onnx/common/interned_strings.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#include "onnx/common/interned_strings.h"
#include <stdi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/interned_strings.cc", "license": "apache-2.0", "size": 2031} |
### File: onnx/common/interned_strings.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#pragma once
#include <stdint.h>
#include <string>
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/interned_strings.h", "license": "apache-2.0", "size": 8085} |
### File: onnx/common/ir.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#pragma once
#include <stdint.h>
#include <algorithm>
#include <atomic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/ir.h", "license": "apache-2.0", "size": 42819} |
### File: onnx/common/ir_pb_converter.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#include "onnx/common/ir_pb_converter.h"
#include <memory... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/ir_pb_converter.cc", "license": "apache-2.0", "size": 24265} |
### File: onnx/common/ir_pb_converter.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#pragma once
#include <memory>
#include <string>
#include ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/ir_pb_converter.h", "license": "apache-2.0", "size": 1306} |
### File: onnx/common/model_helpers.cc
// Copyright (c) ONNX Project Contributors
//
// SPDX-License-Identifier: Apache-2.0
#include "onnx/common/model_helpers.h"
#include "onnx/checker.h"
#include "onnx/defs/schema.h"
#include "onnx/string_utils.h"
namespace ONNX_NAMESPACE {
Common::Status BuildNode(
const std... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/model_helpers.cc", "license": "apache-2.0", "size": 952} |
### File: onnx/common/model_helpers.h
// Copyright (c) ONNX Project Contributors
//
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <string>
#include <vector>
#include "onnx/common/status.h"
#include "onnx/onnx-operators_pb.h"
namespace ONNX_NAMESPACE {
// Helper function for register nodes in
// a Fu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/model_helpers.h", "license": "apache-2.0", "size": 645} |
### File: onnx/common/path.cc
/*
* SPDX-License-Identifier: Apache-2.0
*/
// Copyright (c) ONNX Project Contributors.
#include "onnx/common/path.h"
namespace ONNX_NAMESPACE {
#ifdef _WIN32
#else
std::string path_join(const std::string& origin, const std::string& append) {
if (origin.find_last_of(k_preferred_pat... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/path.cc", "license": "apache-2.0", "size": 1714} |
### File: onnx/common/path.h
/*
* SPDX-License-Identifier: Apache-2.0
*/
// Copyright (c) ONNX Project Contributors.
#pragma once
#include <string>
#ifdef _WIN32
#include <windows.h>
#include <filesystem>
#include "onnx/checker.h"
#endif
namespace ONNX_NAMESPACE {
#ifdef _WIN32
constexpr const char k_preferred... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/path.h", "license": "apache-2.0", "size": 1437} |
### File: onnx/common/platform_helpers.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <cstdint>
namespace ONNX_NAMESPACE {
// Determine if the processor is little endian or not
inline bool is_processor_little_endian() {
constexpr std::int32_t valu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/platform_helpers.h", "license": "apache-2.0", "size": 383} |
### File: onnx/common/status.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include "status.h"
#include <assert.h>
#include "onnx/string_utils.h"
namespace ONNX_NAMESPACE {
namespace Common {
Status::Status(StatusCategory category, int code, const std::string& msg) {
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/status.cc", "license": "apache-2.0", "size": 1892} |
### File: onnx/common/status.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <memory>
#include <ostream>
#include <string>
#include <utility>
namespace ONNX_NAMESPACE {
namespace Common {
enum StatusCategory {
NONE = 0,
CHECKER = 1,
OPTIMIZER =... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/status.h", "license": "apache-2.0", "size": 1912} |
### File: onnx/common/tensor.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
// ATTENTION: The code in this file is highly EXPERIMENTAL.
// Adventurous users should note that the APIs will probably change.
#pragma once
#include <cmath>
#include <functional>
#include <numer... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/tensor.h", "license": "apache-2.0", "size": 7428} |
### File: onnx/common/version.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
namespace ONNX_NAMESPACE {
// Represents the most recent release version. Updated with every release.
constexpr const char* LAST_RELEASE_VERSION = "1.15.0";
} // namespace ONNX_NAME... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/version.h", "license": "apache-2.0", "size": 294} |
### File: onnx/common/visitor.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "onnx/common/common.h"
#include "onnx/onnx_pb.h"
namespace ONNX_NAMESPACE {
namespace internal {
// Visitor: A readonly visitor class for ONNX Proto objects.
// This class i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/common/visitor.h", "license": "apache-2.0", "size": 3086} |
### File: onnx/compose.py
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
from typing import Dict, List, MutableMapping, Optional, Set, Tuple
from onnx import GraphProto, ModelProto, TensorProto, checker, helper, utils
def check_overlapping_names(
g1: GraphProto, g2: GraphProt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/compose.py", "license": "apache-2.0", "size": 26168} |
### File: onnx/cpp2py_export.cc
// Copyright (c) ONNX Project Contributors
//
// SPDX-License-Identifier: Apache-2.0
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <climits>
#include <limits>
#include <tuple>
#include <unordered_map>
#include "onnx/checker.h"
#include "onnx/defs/function.h"
#inclu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/cpp2py_export.cc", "license": "apache-2.0", "size": 29841} |
### File: onnx/defs/__init__.py
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
__all__ = [
"C",
"ONNX_DOMAIN",
"ONNX_ML_DOMAIN",
"AI_ONNX_PREVIEW_TRAINING_DOMAIN",
"has",
"get_schema",
"get_all_schemas",
"get_all_schemas_with_history",
"onnx_opset_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/__init__.py", "license": "apache-2.0", "size": 3221} |
### File: onnx/defs/attr_proto_util.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include "attr_proto_util.h"
#include <string>
#include <vector>
namespace ONNX_NAMESPACE {
#define ADD_BASIC_ATTR_IMPL(type, enumType, field) \
Attribute... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/attr_proto_util.cc", "license": "apache-2.0", "size": 3587} |
### File: onnx/defs/attr_proto_util.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <string>
#include <vector>
#include "onnx/onnx-operators_pb.h"
namespace ONNX_NAMESPACE {
AttributeProto MakeAttribute(const std::string& attr_name, const float& val... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/attr_proto_util.h", "license": "apache-2.0", "size": 1900} |
### File: onnx/defs/controlflow/defs.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include <assert.h>
#include "onnx/defs/controlflow/utils.h"
#include "onnx/defs/schema.h"
namespace ONNX_NAMESPACE {
using SupportType = OpSchema::SupportType;
static std::vector<std::s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/controlflow/defs.cc", "license": "apache-2.0", "size": 20254} |
### File: onnx/defs/controlflow/old.cc
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include "onnx/defs/controlflow/utils.h"
#include "onnx/defs/schema.h"
namespace ONNX_NAMESPACE {
using SupportType = OpSchema::SupportType;
static std::vector<std::string> control_flow_t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/controlflow/old.cc", "license": "apache-2.0", "size": 106317} |
### File: onnx/defs/controlflow/utils.cc
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include "onnx/defs/controlflow/utils.h"
#include <string>
#include <vector>
namespace ONNX_NAMESPACE {
void ClearShape(TypeProto& input_type) {
if (input_type.has_tensor_type()) {
input_type.mutable_tensor_type()->clear_sh... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/controlflow/utils.cc", "license": "apache-2.0", "size": 13473} |
### File: onnx/defs/controlflow/utils.h
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <string>
#include "onnx/defs/schema.h"
namespace ONNX_NAMESPACE {
void ClearShape(TypeProto& input_type);
int handle_negative_axis_validate(const std::string& attrib, int axis, int rank);
void IfInferenceF... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/controlflow/utils.h", "license": "apache-2.0", "size": 447} |
### File: onnx/defs/data_propagators.h
// Copyright (c) ONNX Project Contributors
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include <utility>
#include "onnx/defs/shape_inference.h"
namespace ONNX_NAMESPACE {
inline void appendDimToTensorShapeProto(TensorShapeProto& tsp, const TensorShapeProto* input_data, int... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/data_propagators.h", "license": "apache-2.0", "size": 2336} |
### File: onnx/defs/data_type_utils.cc
/*
* SPDX-License-Identifier: Apache-2.0
*/
#include "data_type_utils.h"
#include <cctype>
#include <iostream>
#include <iterator>
#include <sstream>
namespace ONNX_NAMESPACE {
namespace Utils {
// Singleton wrapper around allowed data types.
// This implements construct on ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/onnx", "path": "onnx/defs/data_type_utils.cc", "license": "apache-2.0", "size": 13954} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.