• Joined on 2024-06-03
lyken created branch ndstrides-7-broadcasting in M-Labs/nac3 2024-08-28 14:00:16 +08:00
lyken created pull request M-Labs/nac3#516 2024-08-28 13:59:10 +08:00
ndstrides-6-reshape
lyken pushed to ndstrides-6-reshape at M-Labs/nac3 2024-08-28 13:58:11 +08:00
lyken created branch ndstrides-6-reshape in M-Labs/nac3 2024-08-28 13:58:11 +08:00
lyken created pull request M-Labs/nac3#515 2024-08-28 13:56:16 +08:00
ndstrides: [5] Implement np_{identity,eye,shape,strides,size} and ndarray.{fill.copy}
lyken pushed to ndstrides-5-miscfuncs at M-Labs/nac3 2024-08-28 13:52:50 +08:00
lyken created branch ndstrides-5-miscfuncs in M-Labs/nac3 2024-08-28 13:52:50 +08:00
lyken created pull request M-Labs/nac3#514 2024-08-28 13:51:24 +08:00
ndstrides: [4] Implement np_array()
lyken pushed to ndstrides-4-nparray at M-Labs/nac3 2024-08-28 13:50:25 +08:00
lyken created branch ndstrides-4-nparray in M-Labs/nac3 2024-08-28 13:50:25 +08:00
lyken created pull request M-Labs/nac3#513 2024-08-28 13:48:48 +08:00
ndstrides: [3] Implement indexing/slicing
lyken pushed to ndstrides-3-indexing at M-Labs/nac3 2024-08-28 13:41:58 +08:00
lyken created branch ndstrides-3-indexing in M-Labs/nac3 2024-08-28 13:41:57 +08:00
lyken created pull request M-Labs/nac3#512 2024-08-28 13:40:45 +08:00
ndstrides [2]: {Any,Tuple,List}Object + Implement np_{zeros,ones,full,empty} and len()
lyken pushed to ndstrides-2-basic at M-Labs/nac3 2024-08-28 13:25:55 +08:00
lyken created branch ndstrides-2-basic in M-Labs/nac3 2024-08-28 13:25:55 +08:00
lyken commented on pull request M-Labs/nac3#509 2024-08-28 13:15:38 +08:00
ndstrides: [1] Introduce models

Update on

Are there Into implementations to convert Instance into BasicValue and Model into BasicType?

An Into for Model to BasicType is not possible because it requires…

lyken pushed to ndstrides-1-model-lifetime at M-Labs/nac3 2024-08-28 13:03:09 +08:00
236032b888 Ptr instance offset_const can be negative + use i64_type()
fe851f7ccd const_int sign_extend
ec1ee223a0 attempt to reduce lifetimes in FnCall
c1281db0cd CallFunction -> FnCall
1e65f16f1e ModelError ///
Compare 15 commits »
lyken commented on pull request M-Labs/nac3#509 2024-08-28 12:13:48 +08:00
ndstrides: [1] Introduce models

I am confused why we should use i: i64 in gep_const.

Shouldn't it be the case that 0 <= i < self.model.0.len.length()?

lyken commented on pull request M-Labs/nac3#509 2024-08-28 11:52:37 +08:00
ndstrides: [1] Introduce models

What would a hypothetical lifetime-filled implementation look like?

I was trying to redo what I did that caused a mayhem of lifetimes, but I just came up a minor refactor to allow something…