aubio.git
6 years ago[conv2d] copy params in set_kernel, set_bias
Paul Brossier [Tue, 29 Jan 2019 02:36:35 +0000 (03:36 +0100)]
[conv2d] copy params in set_kernel, set_bias

6 years ago[fmat] add matmul with blas implementation
Paul Brossier [Tue, 29 Jan 2019 02:32:04 +0000 (03:32 +0100)]
[fmat] add matmul with blas implementation

6 years ago[tensor] add warning in aubio_tensor_as_fmat, to be avoided
Paul Brossier [Tue, 29 Jan 2019 02:31:38 +0000 (03:31 +0100)]
[tensor] add warning in aubio_tensor_as_fmat, to be avoided

6 years ago[fmat] workaround to allow printing 'fake' fmat created from tensors
Paul Brossier [Tue, 29 Jan 2019 02:30:59 +0000 (03:30 +0100)]
[fmat] workaround to allow printing 'fake' fmat created from tensors

6 years ago[fmat] clarify memory allocation
Paul Brossier [Tue, 29 Jan 2019 02:30:23 +0000 (03:30 +0100)]
[fmat] clarify memory allocation

6 years ago[conv1d] set_padding_mode case insensitive
Paul Brossier [Tue, 29 Jan 2019 02:16:50 +0000 (03:16 +0100)]
[conv1d] set_padding_mode case insensitive

6 years ago[conv2d] set_padding_mode case insensitive
Paul Brossier [Tue, 29 Jan 2019 02:16:32 +0000 (03:16 +0100)]
[conv2d] set_padding_mode case insensitive

6 years ago[tensor] have_same_shape returns false on null pointers
Paul Brossier [Tue, 29 Jan 2019 02:14:39 +0000 (03:14 +0100)]
[tensor] have_same_shape returns false on null pointers

6 years ago[maxpool1d] do not call debug in _do
Paul Brossier [Tue, 29 Jan 2019 02:08:48 +0000 (03:08 +0100)]
[maxpool1d] do not call debug in _do

6 years ago[conv2d] add basic documentation
Paul Brossier [Tue, 29 Jan 2019 02:04:06 +0000 (03:04 +0100)]
[conv2d] add basic documentation

6 years ago[conv1d] add basic documentation
Paul Brossier [Tue, 29 Jan 2019 02:03:51 +0000 (03:03 +0100)]
[conv1d] add basic documentation

6 years ago[conv2d] specify length of array in new_ prototype
Paul Brossier [Tue, 29 Jan 2019 02:01:36 +0000 (03:01 +0100)]
[conv2d] specify length of array in new_ prototype

6 years ago[conv1d] use array for stride_shape to match conv2d api
Paul Brossier [Tue, 29 Jan 2019 02:00:01 +0000 (03:00 +0100)]
[conv1d] use array for stride_shape to match conv2d api

6 years ago[maxpool2d] add basic documentation
Paul Brossier [Tue, 29 Jan 2019 01:59:06 +0000 (02:59 +0100)]
[maxpool2d] add basic documentation

6 years ago[maxpool1d] add basic documentation
Paul Brossier [Tue, 29 Jan 2019 01:59:00 +0000 (02:59 +0100)]
[maxpool1d] add basic documentation

6 years ago[dense] improve documentation
Paul Brossier [Tue, 29 Jan 2019 01:55:31 +0000 (02:55 +0100)]
[dense] improve documentation

6 years ago[tensor] rename have_same_shape
Paul Brossier [Tue, 29 Jan 2019 00:15:37 +0000 (01:15 +0100)]
[tensor] rename have_same_shape

6 years ago[conv1d] add set_{kernel,bias}
Paul Brossier [Tue, 29 Jan 2019 00:15:03 +0000 (01:15 +0100)]
[conv1d] add set_{kernel,bias}

6 years ago[tensor] add copy
Paul Brossier [Tue, 29 Jan 2019 00:14:21 +0000 (01:14 +0100)]
[tensor] add copy

6 years ago[batchnorm] improve docs for return values
Paul Brossier [Tue, 29 Jan 2019 00:08:00 +0000 (01:08 +0100)]
[batchnorm] improve docs for return values

6 years ago[tensor] improve documentation, add todos
Paul Brossier [Mon, 28 Jan 2019 21:58:11 +0000 (22:58 +0100)]
[tensor] improve documentation, add todos

6 years ago[tensor] rewrite and rename have_same_shape
Paul Brossier [Mon, 28 Jan 2019 21:56:27 +0000 (22:56 +0100)]
[tensor] rewrite and rename have_same_shape

6 years ago[tensor] use cblas alias in matmul, allow n-dimensional tensors
Paul Brossier [Mon, 28 Jan 2019 21:50:54 +0000 (22:50 +0100)]
[tensor] use cblas alias in matmul, allow n-dimensional tensors

6 years ago[tensor] improve shape string for 1d
Paul Brossier [Mon, 28 Jan 2019 21:48:58 +0000 (22:48 +0100)]
[tensor] improve shape string for 1d

6 years ago[batchnorm] add basic documentation, shuffle declarations to match usage order
Paul Brossier [Wed, 23 Jan 2019 23:24:14 +0000 (00:24 +0100)]
[batchnorm] add basic documentation, shuffle declarations to match usage order

6 years ago[batchnorm] remove comments, add a note about no input parameter
Paul Brossier [Wed, 23 Jan 2019 22:33:38 +0000 (23:33 +0100)]
[batchnorm] remove comments, add a note about no input parameter

6 years ago[ai] add some documentation to activation.h
Paul Brossier [Wed, 23 Jan 2019 22:32:36 +0000 (23:32 +0100)]
[ai] add some documentation to activation.h

6 years ago[pitch_crepe] update creation
Paul Brossier [Fri, 18 Jan 2019 09:48:03 +0000 (10:48 +0100)]
[pitch_crepe] update creation

6 years ago[batchnorm] accepts any input size, allocate weights in get_output_shape
Paul Brossier [Fri, 18 Jan 2019 09:47:14 +0000 (10:47 +0100)]
[batchnorm] accepts any input size, allocate weights in get_output_shape

6 years ago[batchnorm] wrap long lines
Paul Brossier [Thu, 17 Jan 2019 23:28:29 +0000 (00:28 +0100)]
[batchnorm] wrap long lines

6 years ago[batchnorm] generalise to any number of dimensions
Paul Brossier [Thu, 17 Jan 2019 22:50:44 +0000 (23:50 +0100)]
[batchnorm] generalise to any number of dimensions

6 years ago[batchnorm] remove train for now
Paul Brossier [Thu, 17 Jan 2019 21:39:09 +0000 (22:39 +0100)]
[batchnorm] remove train for now

6 years ago[waf] always try to detect blas
Paul Brossier [Thu, 17 Jan 2019 14:53:23 +0000 (15:53 +0100)]
[waf] always try to detect blas

6 years ago[pitch_crepe] make hdf5 optional, add an error message
Paul Brossier [Thu, 17 Jan 2019 13:43:51 +0000 (14:43 +0100)]
[pitch_crepe] make hdf5 optional, add an error message

6 years ago[waf] fix hdf5 selection
Paul Brossier [Thu, 17 Jan 2019 13:41:08 +0000 (14:41 +0100)]
[waf] fix hdf5 selection

6 years ago[aubio_priv.h] add gemm aliases
Paul Brossier [Thu, 17 Jan 2019 13:30:15 +0000 (14:30 +0100)]
[aubio_priv.h] add gemm aliases

6 years ago[maxpool2d] remove train methods
Paul Brossier [Wed, 16 Jan 2019 22:51:22 +0000 (23:51 +0100)]
[maxpool2d] remove train methods

6 years ago[conv2d] simplify padding modes enum, use _t suffix for type
Paul Brossier [Wed, 16 Jan 2019 22:48:55 +0000 (23:48 +0100)]
[conv2d] simplify padding modes enum, use _t suffix for type

6 years ago[conv1d] fix plain version
Paul Brossier [Wed, 16 Jan 2019 22:47:42 +0000 (23:47 +0100)]
[conv1d] fix plain version

6 years ago[conv1d] improve comments, wrap long line
Paul Brossier [Wed, 16 Jan 2019 22:47:06 +0000 (23:47 +0100)]
[conv1d] improve comments, wrap long line

6 years ago[pitch_crepe] reorder members, add comment
Paul Brossier [Wed, 16 Jan 2019 22:44:07 +0000 (23:44 +0100)]
[pitch_crepe] reorder members, add comment

6 years ago[conv2d] add simple blas version (im2row + gemm)
Paul Brossier [Wed, 16 Jan 2019 22:41:05 +0000 (23:41 +0100)]
[conv2d] add simple blas version (im2row + gemm)

6 years ago[conv2d] fix debug string
Paul Brossier [Wed, 16 Jan 2019 22:18:13 +0000 (23:18 +0100)]
[conv2d] fix debug string

6 years ago[conv2d] remove relu
Paul Brossier [Wed, 16 Jan 2019 21:02:06 +0000 (22:02 +0100)]
[conv2d] remove relu

6 years ago[conv2d] fix debug string, clean up
Paul Brossier [Wed, 16 Jan 2019 21:01:01 +0000 (22:01 +0100)]
[conv2d] fix debug string, clean up

6 years ago[pitch_crepe] add activations
Paul Brossier [Thu, 10 Jan 2019 18:14:31 +0000 (19:14 +0100)]
[pitch_crepe] add activations

6 years ago[activation] add header template
Paul Brossier [Thu, 10 Jan 2019 18:13:09 +0000 (19:13 +0100)]
[activation] add header template

6 years ago[activation] add sigmoid and relu, in-place
Paul Brossier [Thu, 10 Jan 2019 18:12:52 +0000 (19:12 +0100)]
[activation] add sigmoid and relu, in-place

6 years ago[dense] remove activation function
Paul Brossier [Thu, 10 Jan 2019 18:12:03 +0000 (19:12 +0100)]
[dense] remove activation function

6 years ago[conv1d] remove activation function
Paul Brossier [Thu, 10 Jan 2019 18:11:28 +0000 (19:11 +0100)]
[conv1d] remove activation function

6 years ago[conv1d] improve comment and indentation
Paul Brossier [Thu, 10 Jan 2019 18:10:50 +0000 (19:10 +0100)]
[conv1d] improve comment and indentation

6 years agoMerge branch 'master' into feature/crepe
Paul Brossier [Tue, 8 Jan 2019 18:21:22 +0000 (19:21 +0100)]
Merge branch 'master' into feature/crepe

6 years ago[sink_wavwrite] call fflush in open
Paul Brossier [Tue, 8 Jan 2019 17:51:16 +0000 (18:51 +0100)]
[sink_wavwrite] call fflush in open

This ensures the file header was actually written correctly, and fails
otherwise, for instance when the target disk-system is full.

6 years ago[sink] remove assert so tests pass in debug mode
Paul Brossier [Tue, 8 Jan 2019 17:37:13 +0000 (18:37 +0100)]
[sink] remove assert so tests pass in debug mode

6 years ago[source] remove assert so tests pass in debug mode
Paul Brossier [Tue, 8 Jan 2019 17:34:30 +0000 (18:34 +0100)]
[source] remove assert so tests pass in debug mode

source and sink are the only objects which check for null pointers
in del_, keep it this way to prevent breaking older code.

6 years ago[ci] use linux/py3.5 to test --build-type=debug
Paul Brossier [Tue, 8 Jan 2019 17:33:58 +0000 (18:33 +0100)]
[ci] use linux/py3.5 to test --build-type=debug

6 years ago[aubio_priv.h] include blas first (see gh-225)
Paul Brossier [Tue, 8 Jan 2019 17:17:11 +0000 (18:17 +0100)]
[aubio_priv.h] include blas first (see gh-225)

6 years ago[crepe] prevent openblas from opening threads
Paul Brossier [Tue, 8 Jan 2019 16:43:12 +0000 (17:43 +0100)]
[crepe] prevent openblas from opening threads

6 years ago[pitch] crepe only supports samplerate==16000 and bufsize==1024 for now
Paul Brossier [Tue, 8 Jan 2019 16:05:44 +0000 (17:05 +0100)]
[pitch] crepe only supports samplerate==16000 and bufsize==1024 for now

6 years ago[pitch] add crepe
Paul Brossier [Tue, 8 Jan 2019 15:50:03 +0000 (16:50 +0100)]
[pitch] add crepe

6 years ago[pitch_crepe] first version
Paul Brossier [Tue, 8 Jan 2019 15:49:22 +0000 (16:49 +0100)]
[pitch_crepe] first version

6 years ago[scripts] script to fetch crepe model from upstream repo
Paul Brossier [Tue, 8 Jan 2019 15:40:03 +0000 (16:40 +0100)]
[scripts] script to fetch crepe model from upstream repo

6 years ago[wscript] link against hdf5 library
Paul Brossier [Tue, 8 Jan 2019 15:11:58 +0000 (16:11 +0100)]
[wscript] link against hdf5 library

6 years ago[file_hdf5] read data hdf5 files
Paul Brossier [Tue, 8 Jan 2019 15:10:43 +0000 (16:10 +0100)]
[file_hdf5] read data hdf5 files

6 years ago[python] also add hd5 when building standolone python external
Paul Brossier [Tue, 8 Jan 2019 15:00:56 +0000 (16:00 +0100)]
[python] also add hd5 when building standolone python external

6 years ago[wscript] add detection of hdf5 library
Paul Brossier [Tue, 8 Jan 2019 15:00:15 +0000 (16:00 +0100)]
[wscript] add detection of hdf5 library

6 years ago[maxpool2d] improve debug string feature/cnn_org
Paul Brossier [Tue, 8 Jan 2019 14:51:03 +0000 (15:51 +0100)]
[maxpool2d] improve debug string

6 years ago[dense] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:50:31 +0000 (15:50 +0100)]
[dense] improve debug string

6 years ago[conv1d] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:49:55 +0000 (15:49 +0100)]
[conv1d] improve debug string

6 years ago[conv1d] avoid unused variable, update comment
Paul Brossier [Tue, 8 Jan 2019 14:49:30 +0000 (15:49 +0100)]
[conv1d] avoid unused variable, update comment

6 years ago[conv1d] add second blas optimisation using gemv
Paul Brossier [Tue, 8 Jan 2019 14:45:59 +0000 (15:45 +0100)]
[conv1d] add second blas optimisation using gemv

6 years ago[conv1d] add first blas optimisation using sdot
Paul Brossier [Tue, 8 Jan 2019 14:29:51 +0000 (15:29 +0100)]
[conv1d] add first blas optimisation using sdot

6 years ago[conv2d] set_stride accepts int[]
Paul Brossier [Tue, 8 Jan 2019 14:12:35 +0000 (15:12 +0100)]
[conv2d] set_stride accepts int[]

6 years ago[batchnorm] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:11:30 +0000 (15:11 +0100)]
[batchnorm] improve debug string

6 years ago[maxpool1d] improve debug string
Paul Brossier [Tue, 8 Jan 2019 14:11:09 +0000 (15:11 +0100)]
[maxpool1d] improve debug string

6 years ago[maxpool2d] use first element to initialize output value, add stride
Paul Brossier [Mon, 7 Jan 2019 23:06:02 +0000 (00:06 +0100)]
[maxpool2d] use first element to initialize output value, add stride

6 years ago[maxpool1d] use first element to initialize output value, add a stride
Paul Brossier [Mon, 7 Jan 2019 23:05:26 +0000 (00:05 +0100)]
[maxpool1d] use first element to initialize output value, add a stride

6 years ago[tests] add tensor_matmul test
Paul Brossier [Mon, 7 Jan 2019 23:00:16 +0000 (00:00 +0100)]
[tests] add tensor_matmul test

6 years ago[maxpool2d] add first draft implementation
Paul Brossier [Mon, 7 Jan 2019 22:46:20 +0000 (23:46 +0100)]
[maxpool2d] add first draft implementation

6 years ago[tensor] add matmul
Paul Brossier [Mon, 7 Jan 2019 22:26:09 +0000 (23:26 +0100)]
[tensor] add matmul

6 years ago[fmat] add fvec_matmul
Paul Brossier [Mon, 7 Jan 2019 22:11:28 +0000 (23:11 +0100)]
[fmat] add fvec_matmul

6 years ago[fmat] use gemv in fmat_vecmul
Paul Brossier [Mon, 7 Jan 2019 21:55:27 +0000 (22:55 +0100)]
[fmat] use gemv in fmat_vecmul

This is possible since we use contiguous memory from 1fcd3928f.

6 years ago[aubio_priv] add AUBIO_ASSERT_EQUAL_SHAPE helper
Paul Brossier [Mon, 7 Jan 2019 21:51:34 +0000 (22:51 +0100)]
[aubio_priv] add AUBIO_ASSERT_EQUAL_SHAPE helper

6 years ago[conv2d] add first plain draft
Paul Brossier [Mon, 7 Jan 2019 21:49:39 +0000 (22:49 +0100)]
[conv2d] add first plain draft

6 years ago[fvec] add fvec_vecadd
Paul Brossier [Mon, 7 Jan 2019 21:19:48 +0000 (22:19 +0100)]
[fvec] add fvec_vecadd

6 years ago[tensor] always use buffer in tensor_as_fvec
Paul Brossier [Mon, 7 Jan 2019 21:14:13 +0000 (22:14 +0100)]
[tensor] always use buffer in tensor_as_fvec

6 years ago[tensor] add header
Paul Brossier [Mon, 7 Jan 2019 21:13:03 +0000 (22:13 +0100)]
[tensor] add header

6 years ago[dense] add first plain version
Paul Brossier [Mon, 7 Jan 2019 21:08:13 +0000 (22:08 +0100)]
[dense] add first plain version

6 years ago[batchnorm] add first plain version
Paul Brossier [Mon, 7 Jan 2019 21:04:37 +0000 (22:04 +0100)]
[batchnorm] add first plain version

6 years ago[tensor] add some documentation
Paul Brossier [Wed, 2 Jan 2019 22:07:16 +0000 (23:07 +0100)]
[tensor] add some documentation

6 years ago[tensor] remove old macro, add more public prototypes
Paul Brossier [Wed, 2 Jan 2019 22:02:26 +0000 (23:02 +0100)]
[tensor] remove old macro, add more public prototypes

6 years ago[tensor] add print helpers
Paul Brossier [Wed, 2 Jan 2019 21:58:45 +0000 (22:58 +0100)]
[tensor] add print helpers

6 years ago[tensor] add have_same_size
Paul Brossier [Wed, 2 Jan 2019 21:57:49 +0000 (22:57 +0100)]
[tensor] add have_same_size

6 years ago[tensor] add get_subtensor
Paul Brossier [Wed, 2 Jan 2019 21:56:47 +0000 (22:56 +0100)]
[tensor] add get_subtensor

6 years ago[tensor] complet get_shape_string
Paul Brossier [Wed, 2 Jan 2019 21:55:36 +0000 (22:55 +0100)]
[tensor] complet get_shape_string

6 years ago[tensor] set initial max value to first element
Paul Brossier [Wed, 2 Jan 2019 21:54:55 +0000 (22:54 +0100)]
[tensor] set initial max value to first element

6 years ago[tensor] view any tensor as fvec/fmat
Paul Brossier [Wed, 2 Jan 2019 21:54:21 +0000 (22:54 +0100)]
[tensor] view any tensor as fvec/fmat

6 years ago[tensor] set buffer, remove old comments
Paul Brossier [Wed, 2 Jan 2019 21:53:40 +0000 (22:53 +0100)]
[tensor] set buffer, remove old comments

6 years ago[tensor] add buffer field, improve documentation
Paul Brossier [Wed, 2 Jan 2019 21:51:35 +0000 (22:51 +0100)]
[tensor] add buffer field, improve documentation

6 years ago[tensor] add get_shape_string
Paul Brossier [Wed, 2 Jan 2019 21:47:51 +0000 (22:47 +0100)]
[tensor] add get_shape_string