ehw-fit / tf-approximate

Approximate layers - TensorFlow extension
MIT License
26 stars 10 forks source link

using one Approximate Multiplier #20

Open lsayadi opened 10 months ago

lsayadi commented 10 months ago

hello, I want to express my gratitude for sharing your open source code. I came across your project while searching for solutions related to approximate multipliers, and I'm eager to incorporate your code into my work.

Given my specific requirements, I prefer not to rely on libraries that include pre-built multipliers. Could you kindly provide guidance on how I can effectively integrate your code into my project?

mrazekv commented 10 months ago

Hi, you can create your lookup table presenting your multiplier as shown here:

5

Is it what you need?

lsayadi commented 10 months ago

I request further assistance in understanding the installation process and steps involved in using your library. Could you please provide more detailed instructions and insights to help me to follow the usage guidance.

mrazekv commented 10 months ago

I suggest to use TF2 version https://github.com/ehw-fit/tf-approximate/tree/master/tf2#building-from-source

Note that it is necessary to use TF 2.1 (newer versions are not compatible).