Arthur Meyre
6fe809aece
dev: add code to have the proper data type when getting an AF table
...
- update BaseDataType to store the underlying type constructor e.g. int
- add helper functions to get the type constructor for constant data
- update operator graph to fill the type constructor during bounds update
- add loguru as logger
- use type constructor in ArbitraryFunction.get_table, log an info if the
type_constructor of the input was None and default to int
2021-09-09 11:16:49 +02:00
Arthur Meyre
269ce01db3
chore(req): force python version to 3.8
...
- compiler bindings only support 3.8
- update requirements
2021-09-09 11:16:49 +02:00
Umut
d02e848fca
refactor: update benchmark infrastructure to be compatible with the new progress tracker
2021-09-08 12:31:32 +03:00
Umut
231a146171
chore: remove pytest-benchmark as a new benchmark architecture is on the way
2021-09-08 12:31:32 +03:00
Arthur Meyre
959328e0f5
chore: rename hdk to concrete first pass
2021-09-06 18:43:49 +02:00
Benoit Chevallier-Mames
cfe48cca15
test: add correctness tests for all supported ufunc's
...
closes #263
2021-09-02 16:00:33 +02:00
Umut
b41029d9c0
refactor(drawing): start using graphviz for visualization
2021-08-25 10:01:20 +03:00
Arthur Meyre
ed66981ccd
chore(reqs): move dev requirements to dev category
2021-08-18 09:36:03 +02:00
Umut
8df212ff49
bench: create the benchmarking infrastructure
2021-08-17 13:17:28 +03:00
Arthur Meyre
8dfed58829
chore(tools): add flake8 linter, flake8-bugbear plugin and fix issues
...
- remove detected `from hdk imports` (use relative imports instead) we ARE
the package
- change the way Float32 and Float64 are defined
2021-08-17 09:22:39 +02:00
Umut
479176e368
doc(examples): create quantized linear and logistic regression examples
2021-08-16 15:57:18 +03:00
Benoit Chevallier-Mames
8f3e461e3b
fix: docstring following google conventions
...
refs #122
2021-08-11 18:11:56 +02:00
Arthur Meyre
3f53c3320e
chore(req): add numpy dependency
...
- also add numpy typing plugin to mypy
2021-08-10 09:07:30 +02:00
Arthur Meyre
c6a2b4b35c
chore(reqs): update requirements
2021-08-03 18:35:12 +02:00
Benoit Chevallier-Mames
1196b00c6b
feat(debugging): implementing draw_graph
...
draw_graph is the function to show on a plot the traced function-to-compile
add edge numbers
refs #38
2021-07-30 11:00:35 +02:00
Arthur Meyre
42e9b8af2c
chore: change requirements to be able to use networkx for graph handling
...
- support only Python >= 3.7, numpy is also dropping support for 3.6
2021-07-26 17:05:53 +02:00
Arthur Meyre
36d93a60d9
chore(tools): add mypy as dev tool but don't check in CI for now
...
- we'll see if the benefits of static typing are worth it or not
2021-07-19 16:25:24 +02:00
Arthur Meyre
a2185af578
tests: add test structure and dependencies
...
- add unique ID generator to hdk and unit test it
refs #15
2021-07-16 12:25:10 +02:00
aquint-zama
ae992e4cdc
docs: move to sphinx
...
relates #15
2021-07-15 16:56:53 +02:00
Arthur Meyre
58e35136f5
chore(tools): add Makefile, formatting script, pylintrc and dependencies
...
refs #15
2021-07-15 11:46:19 +02:00
Arthur Meyre
8c61a12581
chore(tools): setup poetry and bare hdk package
...
refs #15
2021-07-15 11:09:17 +02:00