cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
322 stars 92 forks source link

HeteroCL Keras Frontend #141

Closed PBC48 closed 4 years ago

PBC48 commented 4 years ago

I have implemented a frontend for HeteroCL in the hlib directory. In the hlib directory there are two directories: frontend and op. Frontend contains the parser/transpiler and also a test directory that contains the tests that verify both the parser/transpiler and the backend functions in the op directory. Inside the op directory, there are three files: math.py, nn.py, and op.py. All of these files were formatted to meet the PEP8 standards.

I have not extended CircleCI to the tests, but I can do so in another pull