{"push_id":2841243180,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"9997dd043b880111d3afd185ca71ae9c50d69b40","before":"aec948d0f7a64012574e99dec1b9827ef33d686d","commits":[{"sha":"9997dd043b880111d3afd185ca71ae9c50d69b40","author":{"name":"Marko Grdinić","email":"5622e3ec1a18094ea0e746d23e3f804b2589765e@gmail.com"},"message":"\"...Hmmm, nope. Let me just print out cost. Why would it be zero everywhere? I am probably missing an argument somewhere but where?\n\n```\n                    inl cost =\n                        List.foldl (inl cost -> function\n                            | {out} -> cost + out()\n                            | _ -> cost\n                            ) cost prev_states\n\n                    Console.writeline cost\n```\n\nIt is zero here?\n\n```\n| {out} -> cost + out()\n```\n\nAh whops. I get it.\n\n```\n| {prev={out}} -> cost + out()\n```\n\nIt should be like this.\n\n```\nStarting timing for: iteration 0\nThe time was 00:00:04.8611785 for: iteration 0\nTraining: 191.558673652656\nStarting timing for: iteration 1\nThe time was 00:00:04.7695128 for: iteration 1\nTraining: 167.877400632729\nStarting timing for: iteration 2\nThe time was 00:00:04.8729935 for: iteration 2\nTraining: 163.423594316577\nStarting timing for: iteration 3\nThe time was 00:00:04.9490318 for: iteration 3\nTraining: 161.499166132773\nStarting timing for: iteration 4\nThe time was 00:00:04.8263864 for: iteration 4\nTraining: 160.468243919751\n```\n\nYeah here it is.\n\nBut wow calculating the costs sure slows it down.\n\n```\nStarting timing for: iteration 0\nThe time was 00:00:03.4722242 for: iteration 0\nTraining: 0\nStarting timing for: iteration 1\nThe time was 00:00:03.4656998 for: iteration 1\nTraining: 0\nStarting timing for: iteration 2\nThe time was 00:00:03.5348069 for: iteration 2\nTraining: 0\nStarting timing for: iteration 3\nThe time was 00:00:03.5951912 for: iteration 3\nTraining: 0\nStarting timing for: iteration 4\nThe time was 00:00:03.6202645 for: iteration 4\nTraining: 0\n```\n\nI just commented out the part of the code that sums up the costs. Those device to host transfers slow things down by a significant amount. 33%.\n\nWell, nevermind that. Let me finally test out the RNN. It has all been leading up to this.\n\nFinally I get to do it.\"","distinct":true,"url":"https://api.github.com/repos/mrakgr/The-Spiral-Language/commits/9997dd043b880111d3afd185ca71ae9c50d69b40"}]}
{"actor":{"display_login":"mrakgr"}}