Closed d0znpp closed 8 years ago
Sure. It is here :-) https://github.com/hughperkins/DeepCL/blob/master/test/testlogicaloperators.cpp#L220
TEST( testlogicaloperators, Convolve_2layers_relu_Xor ) {
cout << "Xor, convolve" << endl;
...
You can run it like this:
deepcl_unittests tests=testlogicaloperators.Convolve_2layers_relu_Xor
https://gist.github.com/hughperkins/b13f07e553dea1b742dc73b6686f367e
Oh. python.... hmmm... ok, let me ponder that :-)
How does this look? https://github.com/hughperkins/DeepCL/blob/master/python/examples/xor.py
Great, thx!
Cool :-)
(Hmmm, seems seed
is more complicted than setting the python-side seed. Pondering...)
(added seed method now PyDeepCL.RandomSingleton.seed(some_seed_here)
https://github.com/hughperkins/DeepCL/blob/0092b0c57c65ca91ff174e2d6d32f91a1c2c5c7a/python/examples/xor.py#L33 )
Hi! Thx for a great job!
Can I ask you to add simple Python example without images recognition? Smth like http://www.mind.ilstu.edu/curriculum/artificial_neural_net/xor_problem_and_solution.php
It would be great to understand library methods without documentation.