source: src/ai/activation.h @ abb75ec

feature/crepe
Last change on this file since abb75ec was abb75ec, checked in by Paul Brossier <piem@piem.org>, 2 years ago

[activation] add header template

  • Property mode set to 100644
File size: 904 bytes
Line 
1
2/*
3  Copyright (C) 2018 Paul Brossier <piem@aubio.org>
4
5  This file is part of aubio.
6
7  aubio is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11
12  aubio is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  GNU General Public License for more details.
16
17  You should have received a copy of the GNU General Public License
18  along with aubio.  If not, see <http://www.gnu.org/licenses/>.
19
20*/
21
22#ifndef AUBIO_ACTIVATION_H
23#define AUBIO_ACTIVATION_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29void aubio_activation_relu(aubio_tensor_t *t);
30void aubio_activation_sigmoid(aubio_tensor_t *t);
31
32#endif
Note: See TracBrowser for help on using the repository browser.