it is confusing, and which is used when please explain with example if possible. How it is different from cross entropy