Merge pull request #925 from wannature/singa_v2

add Apache license header for ClassDemo.py