Skip to content

Commit 4f003fa

Browse files
committed
py:deepx包
1 parent 99b894a commit 4f003fa

66 files changed

Lines changed: 249 additions & 163 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

front/py/.cursorrules

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
deepx-py计划像素级复刻pytorch,照顾开发者的使用习惯
1+
回答要求:
2+
Always respond in 中文
3+
不要回答重复的内容(如我提问中的代码)
4+
由于作者是py新手,请多注释python语法和库的用法
5+
不要增加"假设Tensor类在这个路径下"这种一眼就被看出是AI写的注释,不要让我的代码看起来像AI生成
6+
7+
项目介绍:
8+
此项目名为deepx(py部分)
9+
是deepx的python部分,项目路径为/home/lipeng/code/ai/deepx/front/py
10+
deepx的对外暴露的设计,尽可能接近pytorch的API

front/py/deepx/.cursorrules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
deepx-py计划像素级复刻pytorch,照顾开发者的使用习惯

front/py/deepx/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from .tensor import Tensor
2+
3+
__all__ = ['Tensor']
4+
tensor = Tensor

0 commit comments

Comments
 (0)