Closed dcrc2 closed 3 years ago
Additionally, the wrapper now asserts that the tensor element type is
double
, as this is the only floating-point type that Cgen supports.
This will need updating due to #928
Additionally, the wrapper now asserts that the tensor element type is
double
, as this is the only floating-point type that Cgen supports.This will need updating due to #928
Done.
The handwritten
vrelu3
contained code that can be reused for any elementwise operation. This PR pulls this out into a new header insidesrc/runtime
.Additionally, the wrapper now asserts that the tensor element type is
double
, as this is the only floating-point type that Cgen supports.