Umut
5aad8c50ac
test: create check_array_equality fixture
2021-12-06 16:44:32 +03:00
Arthur Meyre
bff367137e
refactor: update GenericFunction to take an iterable as inputs
...
- also fix some corner cases in memory operations
- some small style changes
refs #600
2021-11-04 09:43:22 +01:00
Arthur Meyre
d2faa90106
refactor: replace UnivariateFunction by GenericFunction
...
- add an attribute fusable to False for the operations that should not be
explicitely fused from the original addition of GenericFunction
- add op_kind instance attribute to differentiate between TLU and memory
operations for GenericFunction
refs #600
2021-11-03 12:05:02 +01:00
Benoit Chevallier-Mames
086dba4194
feat: management of reshape
...
refs #615
closes #786
2021-11-02 14:55:27 +01:00
Benoit Chevallier-Mames
8123a5ef45
feat: implement a generic node for functions which change shape
...
and implement np.transpose with it
and implement np.ravel with it
refs #745
2021-11-02 11:20:48 +01:00
Umut
eedbe0606b
feat(tracing): implement tracing of matmul
2021-10-27 17:11:19 +03:00
Umut
65af96253b
feat(tracing): implement tracing of constant indexing
2021-10-25 13:14:29 +03:00
Arthur Meyre
93e39e58f7
fix(representation): handle failure in UnivariateFunction get_table
...
- if only some values are problematic, flood fill the resulting table with
other valid values
- if no valid value was generated an AssertionError will be thrown
2021-10-15 14:17:11 +02:00
Arthur Meyre
00916bcfdb
refactor: rename ArbitraryFunction to UnivariateFunction
...
- the naming has always been confusing and recent changes to the code make
this rename necessary for things to be clearer
2021-10-11 11:36:35 +02:00
Arthur Meyre
86052fa43d
chore(tools): update command line for isort to follow the 100 line length
2021-09-23 14:00:07 +02:00
Arthur Meyre
959328e0f5
chore: rename hdk to concrete first pass
2021-09-06 18:43:49 +02:00
Umut
1e8debfb57
refactor: rename ClearValue/EncryptedValue to ClearScalar/EncryptedScalar
2021-09-01 15:33:19 +03:00
Arthur Meyre
1b489b281c
refactor: move is_equivalent to conftest.py for tests
2021-08-26 14:15:30 +02:00
Arthur Meyre
6d663ef63d
dev(ir): add Dot IntermediateNode
2021-08-25 10:51:03 +02:00
Umut
1d5be5a1e7
refactor: re-organize data types and values
2021-08-24 16:13:36 +03:00
Umut
2b5f7f3118
refactor: rename ConstantInput to Constant to reduce confusion
2021-08-24 10:48:57 +03:00
Arthur Meyre
371cdd5e66
fix(ir): make is_equivalent_to abstract
...
- this allows to make sure each node has a proper implementation
- move op_args and op_kwargs in ArbitraryFunction only
- update BaseTracer accordingly
2021-08-09 13:42:55 +02:00
Arthur Meyre
5d9259c000
dev(ir): add the ArbitraryFunction ir node
2021-08-06 18:35:25 +02:00
Benoit Chevallier-Mames
6157e4680b
feat: adding constant management
...
refs #49
2021-08-03 16:49:46 +02:00
Arthur Meyre
be391ca388
chore: remove reference to package name and file paths
...
- avoids desync with the package name and file paths (which are unstable)
2021-08-02 13:01:52 +02:00
Arthur Meyre
8925fbd2db
dev(ir): add evalute to simulate the computation represented by IR nodes
2021-07-29 10:59:37 +02:00