Created by: liym27
1.Compatible int32 and int64 for attr in op slice/strided_slice. 2.Fix bug: set the same dtype for the inputs of elementwise_add. 3.Polish code in nn.py