Fix inplace tests for division
Fix output dtype of Ops in tensor.nnet
Update tests in tensor.nnet