This has also been adressed in the commens on stackoverflow but this answer is not correct.  The behavioral difference of cce and scce in tensorflow is that cce expectes the target labels as one-hot encoded and scce as class label (single integer).