onnx2versal
Loading...
Searching...
No Matches
identity.h
1#ifndef IDENTITY_H_
2#define IDENTITY_H_
3
4#include <adf.h>
5
17template <typename TT, int N>
18class Identity {
19 public:
20 void filter(
21 input_stream<TT>* in,
22 output_stream<TT>* out
23 );
24 static void registerKernelClass() {
25 REGISTER_FUNCTION(Identity::filter);
26 }
27};
31#endif // IDENTITY_H_
Scalar implementation, Identity<8> total = 35.
Definition identity.h:18