projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c249f57
)
[batchnorm] remove comments, add a note about no input parameter
author
Paul Brossier
<piem@piem.org>
Wed, 23 Jan 2019 22:33:38 +0000
(23:33 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 23 Jan 2019 22:33:38 +0000
(23:33 +0100)
src/ai/batchnorm.c
patch
|
blob
|
history
diff --git
a/src/ai/batchnorm.c
b/src/ai/batchnorm.c
index
490da8b
..
7aba3d5
100644
(file)
--- a/
src/ai/batchnorm.c
+++ b/
src/ai/batchnorm.c
@@
-37,12
+37,8
@@
static void aubio_batchnorm_debug(aubio_batchnorm_t *c,
aubio_batchnorm_t *new_aubio_batchnorm(void)
{
aubio_batchnorm_t *c = AUBIO_NEW(aubio_batchnorm_t);
+ // note; no input parameter, so no other possible failure
return c;
-#if 0 // no argument so no other possible failure
-failure:
- del_aubio_batchnorm(c);
- return NULL;
-#endif
}
static void aubio_batchnorm_reset(aubio_batchnorm_t *c) {