-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from PAICookers/dev
Release: v1.0.0
- Loading branch information
Showing
81 changed files
with
6,452 additions
and
3,891 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Python CI with pytest | ||
|
||
on: | ||
pull_request: | ||
branches: [master, dev] | ||
|
||
jobs: | ||
pytest-ci: | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install poetry | ||
uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: "1.8.2" | ||
- name: Install test dependencies | ||
run: | | ||
poetry install --with test | ||
- name: Run pytest | ||
uses: pavelzw/pytest-action@v2 | ||
with: | ||
verbose: false | ||
emoji: false | ||
job-summary: true | ||
custom-arguments: "-q" | ||
custom-pytest: "poetry run pytest" | ||
click-to-expand: true | ||
report-title: "Test Report" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,3 +154,4 @@ cython_debug/ | |
|
||
.vscode | ||
debug | ||
*.drawio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,47 @@ | ||
## v1.0.0a2 | ||
|
||
- 修复 `paicorelib` 错误的导入与版本约依赖 | ||
|
||
## v1.0.0a3 | ||
|
||
- 添加了示例程序,MNIST双输入端口两层全连接网络 | ||
- 添加示例 | ||
- 修复工作流版本错误 | ||
- 修复神经元膜电位溢出处理错误 | ||
- 修复神经元分组的计数错误 | ||
|
||
## v1.0.0a4 | ||
|
||
- 重命名突触连接类型 `ConnType` 为 `SynConnType` ,现在通过 `pb.SynCnnType.x` 调用。例如,`pb.SynCnnType.All2All` | ||
|
||
## v1.0.0a5 | ||
|
||
- 支持无限嵌套深度的网络 | ||
- 支持全展开2D卷积算子构建与部署(`padding` 不支持) | ||
- 修复当 `keep_shape=True` 时,神经元状态变量在运行时尺寸错误 | ||
|
||
## v1.0.0a6 | ||
|
||
- 新增 `Always1Neuron` 神经元,该神经元将在工作期间持续输出1,不得单独存在,需存在前向突触与其连接。 | ||
|
||
## v1.0.0a7 | ||
|
||
- 支持全展开1D卷积算子构建与部署(`padding` 不支持) | ||
|
||
## v1.0.0b1 | ||
|
||
- 提高 `numpy` 依赖版本至 `^1.24.0` | ||
- 修复神经元输入累加错误 | ||
- 修复当权重为 `np.bool_` 且关闭权重精度优化选项( `weight_bit_optimization` )后,仍视为 `np.int8` 的错误 | ||
- 支持混合精度权重的部署 | ||
|
||
## v1.0.0rc1 | ||
|
||
- 支持全展开1D/2D转置卷积算子。所有的卷积算子均支持 `padding` | ||
- 新增直接编码器 | ||
- 修复后端的一些错误 | ||
|
||
## v1.0.0 | ||
|
||
- 提高 `paicorelib` 依赖版本至 `^1.0.0` | ||
- 当出现重名 `paibox.PAIBoxObject` 时将自动修改名称进行规避 | ||
- 完善测试CI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.