{"action":"created","issue":{"url":"https://api.github.com/repos/cazala/synaptic/issues/12","labels_url":"https://api.github.com/repos/cazala/synaptic/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cazala/synaptic/issues/12/comments","events_url":"https://api.github.com/repos/cazala/synaptic/issues/12/events","html_url":"https://github.com/cazala/synaptic/issues/12","id":59529482,"number":12,"title":"Set this up to be parallelized","user":{"login":"shamoons","id":1019677,"avatar_url":"https://avatars.githubusercontent.com/u/1019677?v=3","gravatar_id":"","url":"https://api.github.com/users/shamoons","html_url":"https://github.com/shamoons","followers_url":"https://api.github.com/users/shamoons/followers","following_url":"https://api.github.com/users/shamoons/following{/other_user}","gists_url":"https://api.github.com/users/shamoons/gists{/gist_id}","starred_url":"https://api.github.com/users/shamoons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamoons/subscriptions","organizations_url":"https://api.github.com/users/shamoons/orgs","repos_url":"https://api.github.com/users/shamoons/repos","events_url":"https://api.github.com/users/shamoons/events{/privacy}","received_events_url":"https://api.github.com/users/shamoons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-03-02T19:05:27Z","updated_at":"2015-03-16T19:45:05Z","closed_at":null,"body":"This is more of a feature request than anything, but perhaps this can be set up to do parallel processing?"},"comment":{"url":"https://api.github.com/repos/cazala/synaptic/issues/comments/81894200","html_url":"https://github.com/cazala/synaptic/issues/12#issuecomment-81894200","issue_url":"https://api.github.com/repos/cazala/synaptic/issues/12","id":81894200,"user":{"login":"shamoons","id":1019677,"avatar_url":"https://avatars.githubusercontent.com/u/1019677?v=3","gravatar_id":"","url":"https://api.github.com/users/shamoons","html_url":"https://github.com/shamoons","followers_url":"https://api.github.com/users/shamoons/followers","following_url":"https://api.github.com/users/shamoons/following{/other_user}","gists_url":"https://api.github.com/users/shamoons/gists{/gist_id}","starred_url":"https://api.github.com/users/shamoons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamoons/subscriptions","organizations_url":"https://api.github.com/users/shamoons/orgs","repos_url":"https://api.github.com/users/shamoons/repos","events_url":"https://api.github.com/users/shamoons/events{/privacy}","received_events_url":"https://api.github.com/users/shamoons/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T19:45:05Z","updated_at":"2015-03-16T19:45:05Z","body":"@cazala how about something like this?\r\n\r\n```\r\n    var hardcode_layers = {};\r\n    var hardcode = \"\";\r\n    hardcode += \"var F = Float64Array ? new Float64Array(\" + optimized.memory +\r\n      \") : []; \";\r\n    for (var i in optimized.variables)\r\n      hardcode += \"F[\" + optimized.variables[i].id + \"] = \" + (optimized.variables[\r\n        i].value || 0) + \"; \";\r\n    hardcode += \"var activate = function(input){\\n\";\r\n    for (var i in optimized.inputs)\r\n      hardcode += \"F[\" + optimized.inputs[i] + \"] = input[\" + i + \"]; \";\r\n    for (var currentLayer in optimized.activation_sentences) {\r\n      hardcode_layers[currentLayer] = hardcode;\r\n      if (optimized.activation_sentences[currentLayer].length > 0)\r\n      {\r\n        for (var currentNeuron in optimized.activation_sentences[currentLayer]){\r\n          hardcode[currentLayer] += optimized.activation_sentences[currentLayer][currentNeuron].join(\" \");\r\n          hardcode[currentLayer] += optimized.trace_sentences[currentLayer][currentNeuron].join(\" \");\r\n        }\r\n      }\r\n    }\r\n```"}}