| Files | Last commit | Last update |
|---|---|---|
fix(pypto_pro): Upload for tile check Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !6468 merge master_sub into master fix(pypto_pro): Upload for tile check Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: Upload for tile check See merge request: cann/pypto!6468 | 2 months ago | |
feat(exported_custom_op): Add the operator attribute specification Co-authored-by: Nikita Larichev<nikita.larichev@h-partners.com> # message auto-generated for no-merge-commit merge: !6473 merge v3_04a_attr_spec into master feat(exported_custom_op): Add the operator attribute specification Created-by: Nikita17 Commit-by: Nikita Larichev Merged-by: cann-robot Description: Split out of https://gitcode.com/cann/pypto/merge_requests/5158 for reviewability. Carved out of what was previously part of the operator-declaration PR (#5602/ v3_05_declare_run) so the typed attribute contract can be reviewed on its own before the declaration surface that consumes it lands. AttrSpec is the single ordered source of truth every downstream emitter (the typed ONNX node attribute, the GE REG_OP line, the onnx-plugin ParseParam block, and the executor ExtractAttrs positional index) will key off in later PRs in this series. **API surface map for this whole series — every def with its signature, introducing PR and callers:** https://claude.ai/code/artifact/a42e70ca-5cf9-4a67-8eb3-b7d3c8e17f1a Changes: - Add AttrSpec (common/attr_spec.py): a frozen dataclass over name/type/default for the four supported attribute kinds (Int, Float, String, ListInt), validating the name against an identifier pattern and each default against what its eventual C++ emission can carry losslessly (int64 range for Int, finite values for Float, quote/backslash/newline-free text for String, a homogeneous int list for ListInt), plus to_json_dict() for serializing into a node's op_export_params - Re-export AttrSpec from the package __init__.py - Add test_attr_spec_validation.py: construction and round-trip serialization, the default=None => required rule, and every rejection path (bad name, wrong type, out-of-range/non-finite/unsafe defaults) Related Issues: [#2869](https://gitcode.com/cann/pypto/issues/2869), [#5158](https://gitcode.com/cann/pypto/merge_requests/5158) See merge request: cann/pypto!6473 | 2 months ago | |
fix(machine): Replace cpp test of cellmatch bound to pytest Co-authored-by: duanhaotian<duanhaotian@huawei.com> # message auto-generated for no-merge-commit merge: !5648 merge duanhaotian8 into master fix(machine): Replace cpp test of cellmatch bound to pytest Created-by: duanhaotian Commit-by: duanhaotian Merged-by: cann-robot Description: 整改C++St用例 See merge request: cann/pypto!5648 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 2 months ago | ||
| 3 months ago |