• Joined on 2024-06-03
lyken created pull request M-Labs/nac3#534 2024-08-30 17:15:41 +08:00
core: Miscellaneous fixes.
lyken created branch misc-fixes in M-Labs/nac3 2024-08-30 17:14:15 +08:00
lyken pushed to misc-fixes at M-Labs/nac3 2024-08-30 17:14:15 +08:00
38bef345e9 core: fix comment in unify_call
8c8f1e7bf0 core: allow np_full to take tuple shapes
Compare 2 commits »
lyken commented on issue M-Labs/nac3#530 2024-08-30 16:44:47 +08:00
test_embedding.AssertTest fails

The str() of an AssertionError is "". Perhaps the expected value itself is wrong?

Relevant test case source for reference:

@nac3
class _Assert(EnvExperiment):
    core:
lyken commented on pull request M-Labs/nac3#524 2024-08-30 16:34:51 +08:00
ndstrides: [14] Final cleanups

Rebased.

lyken pushed to ndstrides-14-end at M-Labs/nac3 2024-08-30 16:22:13 +08:00
76531c7d1c core: update insta after ndstrides
e1cdc2dc78 core: remove old ndarray code and NDArray proxy
1f0463463f artiq: reimplement get_obj_value to use ndarray with strides
bb512b8f57 artiq: reimplement polymorphic_print for ndarray
700357a8b2 artiq: reimplement reformat_rpc_arg for ndarray
Compare 84 commits »
lyken commented on pull request M-Labs/nac3#517 2024-08-30 15:25:50 +08:00
ndstrides: [7] implement broadcasting & np_broadcast_to()

Rebased.

lyken commented on pull request M-Labs/nac3#516 2024-08-30 15:25:41 +08:00
ndstrides: [6] Implement np_reshape()

Rebased.

lyken commented on pull request M-Labs/nac3#523 2024-08-30 15:15:36 +08:00
ndstrides: [13] Enhance ndarray.py tests

Rebased.

lyken pushed to ndstrides-13-tests at M-Labs/nac3 2024-08-30 15:15:31 +08:00
4e9facd457 standalone/ndarray: improve {reshape,broadcast_to,transpose} tests
b3a66948fa standalone/ndarray: add and organize view function tests
7fb5e10ee2 core/ndstrides: update builtin_fns to use ndarray with strides
1de3f05734 core/ndstrides: add NDArrayObject::to_any
3426e0c9c2 core/ndstrides: add ContiguousNDArray
Compare 79 commits »
lyken commented on pull request M-Labs/nac3#522 2024-08-30 15:14:47 +08:00
ndstrides: [12] Reimplement builtins

Rebased.

lyken pushed to ndstrides-12-builtins at M-Labs/nac3 2024-08-30 15:14:43 +08:00
7fb5e10ee2 core/ndstrides: update builtin_fns to use ndarray with strides
1de3f05734 core/ndstrides: add NDArrayObject::to_any
3426e0c9c2 core/ndstrides: add ContiguousNDArray
4baf1c64ed core/ndstrides: implement np_dot() for scalars and 1D
c93f05f74b core/ndstrides: implement general matmul
Compare 77 commits »
lyken commented on pull request M-Labs/nac3#521 2024-08-30 15:08:10 +08:00
ndstrides: [11] Implement general matmul & np_dot()

Rebased.

lyken pushed to ndstrides-11-matmul at M-Labs/nac3 2024-08-30 15:08:03 +08:00
4baf1c64ed core/ndstrides: implement np_dot() for scalars and 1D
c93f05f74b core/ndstrides: implement general matmul
e86718d3d9 core/ndstrides: implement cmpop
a43ec47530 core/ndstrides: implement unary op
bc88819eaf core/ndstrides: implement binop
Compare 74 commits »
lyken commented on pull request M-Labs/nac3#520 2024-08-30 14:59:54 +08:00
ndstrides: [10] Reimplement binops, unary ops, and cmpops.

Rebased.

lyken pushed to ndstrides-10-ops at M-Labs/nac3 2024-08-30 14:59:46 +08:00
e86718d3d9 core/ndstrides: implement cmpop
a43ec47530 core/ndstrides: implement unary op
bc88819eaf core/ndstrides: implement binop
c6d3620431 core/ndstrides: add NDArrayOut, broadcast_map and map
cea512456a core/ndstrides: implement subscript assignment
Compare 72 commits »
lyken commented on pull request M-Labs/nac3#519 2024-08-30 14:55:14 +08:00
ndstrides: [9] Implement ndarray subscript assignment

Rebased.

lyken pushed to ndstrides-9-subassign at M-Labs/nac3 2024-08-30 14:55:09 +08:00
cea512456a core/ndstrides: implement subscript assignment
b22f2bc76c core/ndstrides: add more ScalarOrNDArray and NDArrayObject utils
b9e837109b core/ndstrides: implement np_transpose() (no axes argument)
d32268fb5d core/ndstrides: implement broadcasting & np_broadcast_to()
916a2b4993 core/ndstrides: implement np_reshape()
Compare 68 commits »
lyken pushed to ndstrides-8-transpose at M-Labs/nac3 2024-08-30 14:51:44 +08:00
b9e837109b core/ndstrides: implement np_transpose() (no axes argument)
d32268fb5d core/ndstrides: implement broadcasting & np_broadcast_to()
916a2b4993 core/ndstrides: implement np_reshape()
c7c3cc21a8 core: categorize np_{transpose,reshape} as 'view functions'
d2072d9248 core/ndstrides: implement np_size()
Compare 66 commits »
lyken pushed to ndstrides-6-reshape at M-Labs/nac3 2024-08-30 14:47:08 +08:00
916a2b4993 core/ndstrides: implement np_reshape()
c7c3cc21a8 core: categorize np_{transpose,reshape} as 'view functions'
d2072d9248 core/ndstrides: implement np_size()
be19165ead core/ndstrides: implement np_shape() and np_strides()
ee58cf3fc3 core/ndstrides: implement ndarray.fill() and .copy()
Compare 7 commits »