Jittor / jittor

Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators.
https://cg.cs.tsinghua.edu.cn/jittor/
Apache License 2.0
3.07k stars 307 forks source link

fix issue 527,526;update jt.zeros/ones/full/randn/randint/random #537

Closed fansunqi closed 3 months ago

fansunqi commented 3 months ago

Add runtime error when any dim of the shape parameter of jt.randn/ones/zeros/randn/random/randint is negative.