{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaspanel/numjs/issues/53","repository_url":"https://api.github.com/repos/nicolaspanel/numjs","labels_url":"https://api.github.com/repos/nicolaspanel/numjs/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/nicolaspanel/numjs/issues/53/comments","events_url":"https://api.github.com/repos/nicolaspanel/numjs/issues/53/events","html_url":"https://github.com/nicolaspanel/numjs/issues/53","id":349621446,"node_id":"MDU6SXNzdWUzNDk2MjE0NDY=","number":53,"title":"Ones and zeros without shape","user":{"login":"marcospgp","id":3464445,"node_id":"MDQ6VXNlcjM0NjQ0NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/3464445?v=4","gravatar_id":"","url":"https://api.github.com/users/marcospgp","html_url":"https://github.com/marcospgp","followers_url":"https://api.github.com/users/marcospgp/followers","following_url":"https://api.github.com/users/marcospgp/following{/other_user}","gists_url":"https://api.github.com/users/marcospgp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcospgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcospgp/subscriptions","organizations_url":"https://api.github.com/users/marcospgp/orgs","repos_url":"https://api.github.com/users/marcospgp/repos","events_url":"https://api.github.com/users/marcospgp/events{/privacy}","received_events_url":"https://api.github.com/users/marcospgp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-10T18:52:11Z","updated_at":"2018-08-11T11:01:06Z","closed_at":null,"author_association":"NONE","body":"Allow creation of ones and zeros matrices that automatically set their shape based on the operations they are submitted to.\r\n\r\nThis way, I could stop having to do `const ones = nj.ones(x.shape);`\r\n\r\nEdit: Since the reason this would be useful has mostly to do with elementwise operations, maybe an alternative to this would be providing a way to define custom elementwise operations, like the ones provided out of the box (such as `nj.sigmoid()`)"},"comment":{"url":"https://api.github.com/repos/nicolaspanel/numjs/issues/comments/412267982","html_url":"https://github.com/nicolaspanel/numjs/issues/53#issuecomment-412267982","issue_url":"https://api.github.com/repos/nicolaspanel/numjs/issues/53","id":412267982,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI2Nzk4Mg==","user":{"login":"nicolaspanel","id":2500584,"node_id":"MDQ6VXNlcjI1MDA1ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2500584?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolaspanel","html_url":"https://github.com/nicolaspanel","followers_url":"https://api.github.com/users/nicolaspanel/followers","following_url":"https://api.github.com/users/nicolaspanel/following{/other_user}","gists_url":"https://api.github.com/users/nicolaspanel/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaspanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaspanel/subscriptions","organizations_url":"https://api.github.com/users/nicolaspanel/orgs","repos_url":"https://api.github.com/users/nicolaspanel/repos","events_url":"https://api.github.com/users/nicolaspanel/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaspanel/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T11:01:06Z","updated_at":"2018-08-11T11:01:06Z","author_association":"OWNER","body":"I mean, the ability to transform ND arrays elementwise through a custom function"}}
{"actor":{"display_login":"nicolaspanel"}}