mirror of https://github.com/Jittor/Jittor
update readme && nn.linear
This commit is contained in:
parent
8a9f0bb904
commit
1119f3cc51
|
@ -17,7 +17,7 @@ Jittor前端语言为Python。前端使用了模块化和动态图执行的设
|
||||||
* [Jittor教程](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
* [Jittor教程](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
||||||
* [Jittor模型库](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
* [Jittor模型库](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
||||||
* [Jittor文档](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
* [Jittor文档](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
||||||
* [Github](https://github.com/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
* [Github](https://github.com/jittor/jittor), [GitLink](https://www.gitlink.org.cn/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
||||||
* [Jittor 论坛](https://discuss.jittor.org/)
|
* [Jittor 论坛](https://discuss.jittor.org/)
|
||||||
* [Jittor 精选仓库](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
* [Jittor 精选仓库](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
||||||
* 即时通信: QQ Group(761222083)
|
* 即时通信: QQ Group(761222083)
|
||||||
|
|
|
@ -16,7 +16,7 @@ Related Links:
|
||||||
* [Jittor Tutorials](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
* [Jittor Tutorials](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
||||||
* [Jittor Models](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
* [Jittor Models](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
||||||
* [Jittor Documents](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
* [Jittor Documents](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
||||||
* [Github](https://github.com/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
* [Github](https://github.com/jittor/jittor), [GitLink](https://www.gitlink.org.cn/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
||||||
* [Jittor Forum](https://discuss.jittor.org/)
|
* [Jittor Forum](https://discuss.jittor.org/)
|
||||||
* [Awesome Jittor List](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
* [Awesome Jittor List](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
||||||
* IM: QQ Group(761222083)
|
* IM: QQ Group(761222083)
|
||||||
|
|
|
@ -20,7 +20,7 @@ Related Links:
|
||||||
* [Jittor Tutorials](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
* [Jittor Tutorials](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
||||||
* [Jittor Models](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
* [Jittor Models](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
||||||
* [Jittor Documents](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
* [Jittor Documents](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
||||||
* [Github](https://github.com/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
* [Github](https://github.com/jittor/jittor), [GitLink](https://www.gitlink.org.cn/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
||||||
* [Jittor Forum](https://discuss.jittor.org/)
|
* [Jittor Forum](https://discuss.jittor.org/)
|
||||||
* [Awesome Jittor List](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
* [Awesome Jittor List](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
||||||
* IM: QQ Group(761222083)
|
* IM: QQ Group(761222083)
|
||||||
|
@ -30,7 +30,7 @@ Related Links:
|
||||||
* [Jittor教程](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
* [Jittor教程](https://cg.cs.tsinghua.edu.cn/jittor/tutorial/)
|
||||||
* [Jittor模型库](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
* [Jittor模型库](https://cg.cs.tsinghua.edu.cn/jittor/resources/)
|
||||||
* [Jittor文档](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
* [Jittor文档](https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/index.html)
|
||||||
* [Github](https://github.com/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
* [Github](https://github.com/jittor/jittor), [GitLink](https://www.gitlink.org.cn/jittor/jittor), [Gitee](https://gitee.com/jittor/jittor)
|
||||||
* [Jittor 论坛](https://discuss.jittor.org/)
|
* [Jittor 论坛](https://discuss.jittor.org/)
|
||||||
* [Jittor 精选仓库](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
* [Jittor 精选仓库](https://github.com/Jittor/jittor/blob/master/AWESOME-JITTOR-LIST.md)
|
||||||
* 即时通信: QQ Group(761222083)
|
* 即时通信: QQ Group(761222083)
|
||||||
|
|
|
@ -640,7 +640,7 @@ class Linear(Module):
|
||||||
def linear(x, weight, bias=None):
|
def linear(x, weight, bias=None):
|
||||||
''' Returns x * weight^T
|
''' Returns x * weight^T
|
||||||
'''
|
'''
|
||||||
x = matmul_transpose(input, weight)
|
x = matmul_transpose(x, weight)
|
||||||
if bias is not None:
|
if bias is not None:
|
||||||
return x + bias
|
return x + bias
|
||||||
return x
|
return x
|
||||||
|
|
Loading…
Reference in New Issue