Xilinx / inference-server

https://xilinx.github.io/inference-server/
Apache License 2.0
43 stars 13 forks source link

Add standard container functions #122

Closed varunsh-xilinx closed 1 year ago

varunsh-xilinx commented 1 year ago

Summary of Changes

Motivation

It reduces code duplication and simplifies common tasks.

Implementation

Templatized functions in util::containers.hpp provide two functions: to compute the product or sum of a container's contents and asserts that the container contains numeric data (e.g. a vector or list of numbers)

Notes

N/A

gbuildx commented 1 year ago

Build failed!

varunsh-xilinx commented 1 year ago

Passed internally on rerun. Failure due to host error