Based on tensorflow training subtraction BP network example code