Commit Graph

44 Commits

Author SHA1 Message Date
Umut
8564930fc8 feat: add support for np.squeeze 2023-01-25 10:52:50 +01:00
Umut
416ca6938b fix: allow explicitly setting axis to None in np.sum 2022-12-12 15:35:38 +01:00
Umut
65f0e251f0 chore: fix random test failures 2022-12-05 11:40:14 +01:00
Umut
23337e9dbd feat: support up to 16-bit signed integers with table lookups 2022-12-05 10:22:41 +01:00
Umut
25b9a59e21 feat: introduce tag extension, create integer range getter for graphs, allow filtering in integer bit width getter 2022-11-18 12:33:03 +01:00
Umut
ccd3f9af6a feat: introduce auto rounders 2022-11-08 14:17:22 +01:00
Umut
eb601f5948 chore: fix one of the common random test failures 2022-11-08 14:17:22 +01:00
Umut
c552a955c0 feat: introduce round bit pattern extension for virtual circuits 2022-11-03 11:52:41 +01:00
Umut
cb9cbb05ab feat: introduce maxpool extension for virtual circuits 2022-11-02 16:12:00 +01:00
Umut
f0014dc05f feat: improve fusing related error messages 2022-10-28 12:06:54 +03:00
Umut
a2624086a2 feat: support axes kwarg for np.transpose 2022-10-18 11:58:50 +03:00
youben11
5f07a72e5c fix: use pads arg for torch evaluation
as we weren't supporting padding, we neglected to use them in the plain
evaluation, but this result in a confusing error message for the user
when trying to use padding. This fixes the problem by using padding
properly during evaluation, and leaves the error up to the compiler.
2022-10-17 14:01:38 +03:00
Umut
d6ba76318f feat: add support for np.expand_dims 2022-10-17 10:52:01 +03:00
youben11
7901d8868c fix: adhere to ONNX spec of kernel_shape
ONNX spec:
"kernel_shape : list of ints
    The shape of the convolution kernel. If not present, should be
	inferred from input W."

We were taking the number of input/output feature maps into account,
which we realized we should not.
2022-10-05 14:55:54 +01:00
Umut
7415dd07e1 feat: support unsigned levelled operations on large bit-widths 2022-08-29 13:04:04 +03:00
Umut
ef7e0d762f feat: support assignments to tensors 2022-08-23 14:56:36 +03:00
Umut
48014ed60a feat: allow broadcast_to operation on scalars 2022-08-23 14:56:36 +03:00
Umut
710ee3408d docs: fix documentation of static indexing execution test module 2022-08-23 14:56:36 +03:00
youben11
0aadb4ac43 feat: support grouped conv2D 2022-08-16 16:28:37 +01:00
Umut
039a632c72 feat: support all kind of subtraction operations 2022-08-16 10:04:47 +03:00
Umut
6c6e657b6e fix: resolve integration issues with the new compiler 2022-08-12 17:18:46 +03:00
Umut
e398a4fbd0 feat: add support for np.broadcast_to 2022-07-25 13:18:48 +03:00
Umut
a0f167ac79 fix: reduce number of retries to 1 for tlu tests 2022-07-20 10:46:02 +03:00
Umut
f5842fb7ad test: iteration of tracers 2022-07-19 15:15:21 +03:00
Umut
078512d55d feat: create array extension 2022-07-12 14:30:08 +03:00
Umut
1e86c3b1e4 fix: don't allow signed clear inputs as tlu cannot be applied to them, add more signed input tests 2022-06-22 11:03:48 +03:00
Umut
a6b09ddf09 feat: support signed inputs 2022-06-22 11:03:48 +03:00
Umut
8a60a979cb chore: remove manually set uint8 dtypes in tests as it's done automatically 2022-06-22 11:03:48 +03:00
Umut
ce1712c67c fix: properly determine lca during fusing 2022-06-16 10:25:17 +03:00
Umut
11819fcf2f feat: add support for np.ndarray.round() method 2022-06-16 10:25:17 +03:00
Umut
57aae5afdb feat: add encrypted zeros and ones functions 2022-06-13 12:13:25 +03:00
Umut
dc501fb0ae chore: convert an 8-bit test a 7-bit test to improve test time 2022-05-31 11:18:59 +03:00
Umut
fc6836b766 feat: add support for rounding 2022-05-23 16:05:11 +03:00
Umut
574446e6f5 feat: add univariate extension to wrap arbitrary functions 2022-05-18 15:33:05 +03:00
Umut
56085204e6 feat: add support for np.ones_like and np.zeros_like 2022-05-17 13:43:15 +03:00
Umut
d94812b234 feat: fuse subgraphs with multiple variable inputs of which has the same lca 2022-05-16 14:30:09 +03:00
youben11
e90a9f1a55 chore: update black to 22.3.0 2022-05-11 08:03:40 +01:00
Umut
eebb29c10f fix: allow fusing where the input to subgraph is not fusable 2022-05-10 11:21:25 +03:00
Umut
ffe26aadcb refactor: move configuration and artifacts to compile and trace methods 2022-04-29 11:10:14 +03:00
youben11
840a9c2c20 feat: support tracing/eval of ONNX Conv
- 1D, 2D, and 3D convolutions
- conversion to MLIR is supported only for 2D convolution
- not full support yet: still limitations on group and other params
2022-04-27 08:18:14 +01:00
youben11
824e034084 refactor: add concrete.onnx mod with previous conv2d
the module is meant to contain machine learning operations as defined by
ONNX
2022-04-13 13:10:53 +01:00
Umut
a17d0c66ca fix: update only int64 astype warning to ignore floating point types 2022-04-08 16:52:16 +03:00
Umut
ba33d42762 feat: implement transpose 2022-04-08 12:09:44 +03:00
Umut
c45b9ffa43 feat: rewrite tests 2022-04-08 12:09:44 +03:00