From: Paul Brossier Date: Thu, 10 Jan 2019 18:13:09 +0000 (+0100) Subject: [activation] add header template X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=abb75ec1f5d638bde2800691d863a79e3ea340d5;p=aubio.git [activation] add header template --- diff --git a/src/ai/activation.h b/src/ai/activation.h new file mode 100644 index 00000000..378c5f89 --- /dev/null +++ b/src/ai/activation.h @@ -0,0 +1,32 @@ + +/* + Copyright (C) 2018 Paul Brossier + + This file is part of aubio. + + aubio is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + aubio is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with aubio. If not, see . + +*/ + +#ifndef AUBIO_ACTIVATION_H +#define AUBIO_ACTIVATION_H + +#ifdef __cplusplus +extern "C" { +#endif + +void aubio_activation_relu(aubio_tensor_t *t); +void aubio_activation_sigmoid(aubio_tensor_t *t); + +#endif