| Files | Last commit | Last update |
|---|---|---|
fix(pypto_pro): Upload for vf scalar astype Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !7631 merge master_sub into master fix(pypto_pro): Upload for vf scalar astype Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: 本PR解决问题单相关问题: - 解决vf涉及for循环的scalar类型转换问题 See merge request: cann/pypto!7631 | 1 day ago | |
fix(docs): Replace nonexistent pypto.data_type with pypto.DT_* in tensor examples Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !7744 merge fix/docs-data-type-3699 into master fix(docs): Replace nonexistent pypto.data_type with pypto.DT_* in tensor examples Created-by: fz6866 Commit-by: seu_chang Merged-by: cann-robot Description: Four operation docs tell users to pass pypto.data_type.DT_FP32 / pypto.data_type.DT_INT32, but the pypto package exposes no data_type attribute: the DataType values are exported directly as pypto.DT_* by python/pypto/enum.py and re-exported from pypto/__init__.py. Copying any of these examples therefore fails with AttributeError: module 'pypto' has no attribute 'data_type'. This change rewrites the affected examples to the supported pypto.DT_* form, matching the other operation docs, and covers both the Chinese and English pages. Affected pages: - docs/{zh,en}/api/tensor_api/operation/pypto-isfinite.md - docs/{zh,en}/api/tensor_api/operation/pypto-isnan.md - docs/{zh,en}/api/tensor_api/operation/pypto-tril.md - docs/{zh,en}/api/tensor_api/operation/pypto-triu.md Verification: - grep -rn "pypto\.data_type" docs/ returns nothing after the change - pypto.tensor([3, 3], pypto.DT_FP32) / pypto.tensor([3, 3], pypto.DT_INT32) create tensors with the expected shape and dtype Related Issue: #3699 See merge request: cann/pypto!7744 | 3 days ago | |
docs(feat): Add the english documention Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7682 merge master into master docs(feat): Add the english documention Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Add the english documention See merge request: cann/pypto!7682 | 6 days ago | |
feat(pypto_pro): Add pl.array support Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7763 merge array_type into master feat(pypto_pro): Add pl.array support Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: support pl.array(N, pl.DT_INT32) type syntax, currently only 1 dim is support See merge request: cann/pypto!7763 | 3 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 day ago | ||
| 3 days ago | ||
| 6 days ago | ||
| 3 days ago |