Thank you for the reply. You are right. I checked it on the tensors with random binary values. It became zero