Skip to content

Inference Batching #4

@nitron532

Description

@nitron532

Hello, I'm Alvin, I'm a 2nd Year CS undergrad at UCSB! I work with Professor Majedi in the CS3E Embedded Ethics lab.

I found ArchLab's pyrtlenet and thought it would be fun to help with the TODO's since I've built my own neural net in C++ and have experience working with their fundamental theory and logic.

I would like to add batching to the inference implementations of pyrtlenet!
I already created a batched version of the numpy inference on my own fork, with modified comments and batching logic implemented. I plan on adding batching for the other two versions as well.
It has passed both the tests and the ruff linter, although I had to leave the parameter "test_image" in the inference class as it is named despite it being a batch so it would pass the tests.
Check it out and let me know if anything should be changed.
Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions