24 bool tryConvertToONNX(onnx::GraphProto* graph, std::string input, std::string output)
const override;
25 std::string
str()
const override{
return "Leaky Relu"; }
base class for Activation Functions, meant for simplicity in definition.
Definition ActivationFunction.hpp:8
Class representing Leaky Relu activation function.
Definition LeakyRelu.hpp:7
bool tryConvertToONNX(onnx::GraphProto *graph, std::string input, std::string output) const override
Try to convert the layer to ONNX format.
Definition LeakyRelu.cpp:18
std::string str() const override
Returns a string representation of the layer.
Definition LeakyRelu.hpp:25
Definition LeakyRelu.hpp:4
float float_t
Definition types.hpp:12
Eigen::Matrix< float_t, Eigen::Dynamic, 1 > vectorIn
Definition types.hpp:16