Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining batch_size for FPGA deployment #81

Open
nagendra7890 opened this issue May 8, 2022 · 1 comment
Open

Defining batch_size for FPGA deployment #81

nagendra7890 opened this issue May 8, 2022 · 1 comment

Comments

@nagendra7890
Copy link

nagendra7890 commented May 8, 2022

Hello,
Thank you for the project.

Can you help me to understand how to define the batch_size, OFMDim, OFMCH before the FPGA execution code.

For example, in your .ipynb file.

**FPGA Deployment (QuickTest Function)**
batch_size = 500

OFMDim = 1
OFMCH = 10
%time FPGA_output = FPGAQuickTest(data_zeromean*64, batch_size, OFMDim, OFMCH)
FPGA_predicted = np.argmax(FPGA_output.reshape(batch_size, -1), 1)

How is the batch_size, OFMDim, OFMCH known. Does it have relationship with the dimension of the data.

@wmc925
Copy link

wmc925 commented May 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants