onnx2versal
Loading...
Searching...
No Matches
argmax.h
1#ifndef ARGMAX_H_
2#define ARGMAX_H_
3
4#include <adf.h>
5
6
18template <int CHUNK_CNT, int CHUNK_SIZE>
20 public:
21 void filter(
22 input_window<float>* in,
23 output_window<float>* out
24 );
25
26 static void registerKernelClass() {
27 REGISTER_FUNCTION(ArgmaxScalar::filter);
28 }
29};
33#endif // ARGMAX_H_
Scalar implementation, ArgmaxScalar<100, 10> takes 1064 cycles.
Definition argmax.h:19