ikaros-project / ikaros

An open infrastructure for system level brain modeling
GNU Affero General Public License v3.0
22 stars 23 forks source link

Various feature requests #182

Open ikaros-project opened 2 months ago

ikaros-project commented 2 months ago

Horizontal stack:

a = {1,2;3,4} b = {5,6;7,8} c = matrix(2, 4) c.hstack(a,b) c -> {1,2, 5, 6; 3,4, 7,8}

tile-copy

Given a one dimensional array a={1,2,3}, and a two dimensional b(2,3), b.tile(a, 2) will result in b={1,2,3; 1,2,3}

A general multidimensional tile needs more spec I guess.

used to compose topologies in spikingpopulation.

Support for older macos

When compiling on MacOS Catalina, get compile error: ikaros-3/Source/Kernel/socket_bsd.cc:568:57 use of undeclared identifier 'MSG_NOSIGNAL' n = send(data->new_fd, buffer+total, bytesleft, MSG_NOSIG...

Allow adding outputs with shape

Two use cases: a) When adding an output with a single dimension using AddOutput, then later setting the shape, the output in the ikg file is set to the unidimensional size instead of the multidimensional one, i.e. signature AddOutput("name", std::vector shape, "descr") b) if have parameter that is an matrix or array it would be useful to be able to set output size="@sizeparam" when e.g. sizeparam="2,2,2" (though a challenge to interpret e.g. "2,2;2,2", but could just ravel it).