{"action":"closed","issue":{"url":"https://api.github.com/repos/bartvm/blocks/issues/535","labels_url":"https://api.github.com/repos/bartvm/blocks/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/bartvm/blocks/issues/535/comments","events_url":"https://api.github.com/repos/bartvm/blocks/issues/535/events","html_url":"https://github.com/bartvm/blocks/issues/535","id":64077524,"number":535,"title":"Initialize weights with a numpy array or a shared variable","user":{"login":"adbrebs","id":6939554,"avatar_url":"https://avatars.githubusercontent.com/u/6939554?v=3","gravatar_id":"","url":"https://api.github.com/users/adbrebs","html_url":"https://github.com/adbrebs","followers_url":"https://api.github.com/users/adbrebs/followers","following_url":"https://api.github.com/users/adbrebs/following{/other_user}","gists_url":"https://api.github.com/users/adbrebs/gists{/gist_id}","starred_url":"https://api.github.com/users/adbrebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adbrebs/subscriptions","organizations_url":"https://api.github.com/users/adbrebs/orgs","repos_url":"https://api.github.com/users/adbrebs/repos","events_url":"https://api.github.com/users/adbrebs/events{/privacy}","received_events_url":"https://api.github.com/users/adbrebs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-24T19:15:59Z","updated_at":"2015-04-20T14:08:29Z","closed_at":"2015-04-20T14:08:29Z","body":"If I am not missing anything, it does not seem possible yet to (easily) initialize brick parameters with numpy arrays or shared variables. What would be the best way to implement it?\r\n\r\nCreating a class inheriting from NdarrayInitialization could be a solution (but we would have to be careful when a brick has children).  This also means that we would have to change the NdarrayInitialization interface because there would not be any \"generation\" with this new class."}}