Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: src/mlp.h

Issue 882843002: Update to opus-HEAD-66611f1. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/opus.git@master
Patch Set: Add the contents of Makefile.mips back. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/analysis.c ('k') | src/mlp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2008-2011 Octasic Inc. 1 /* Copyright (c) 2008-2011 Octasic Inc.
2 Written by Jean-Marc Valin */ 2 Written by Jean-Marc Valin */
3 /* 3 /*
4 Redistribution and use in source and binary forms, with or without 4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions 5 modification, are permitted provided that the following conditions
6 are met: 6 are met:
7 7
8 - Redistributions of source code must retain the above copyright 8 - Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer. 9 notice, this list of conditions and the following disclaimer.
10 10
(...skipping 13 matching lines...) Expand all
24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #ifndef _MLP_H_ 28 #ifndef _MLP_H_
29 #define _MLP_H_ 29 #define _MLP_H_
30 30
31 #include "arch.h" 31 #include "arch.h"
32 32
33 typedef struct { 33 typedef struct {
34 » int layers; 34 int layers;
35 » const int *topo; 35 const int *topo;
36 » const float *weights; 36 const float *weights;
37 } MLP; 37 } MLP;
38 38
39 void mlp_process(const MLP *m, const float *in, float *out); 39 void mlp_process(const MLP *m, const float *in, float *out);
40 40
41 #endif /* _MLP_H_ */ 41 #endif /* _MLP_H_ */
OLDNEW
« no previous file with comments | « src/analysis.c ('k') | src/mlp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698