class_docstr: This is same with cross entropy criterion, except the target tensor is a one-hot tensor
  
  >>> loss = CategoricalCrossEntropy()
  creating: createZooKerasCategoricalCrossEntropy
class_docstr_tok: ["This","is","same","with","cross","entropy","criterion",",","except","the","target","tensor","is","a","one-hot","tensor",">",">",">","loss","=","CategoricalCrossEntropy","(",")","creating",":","createZooKerasCategoricalCrossEntropy"]
code: def __init__(self, bigdl_type="float"):
      super(CategoricalCrossEntropy, self).__init__(None, bigdl_type)
  
imports: import sys
  from bigdl.dllib.keras.base import ZooKerasCreator
  from bigdl.dllib.nn.criterion import Criterion
  from bigdl.dllib.utils.common import JTensor
label_desc: Use image node_id 1 to create a new CategoricalCrossEntropy object from inherited base classes: LossFunction with example: obj = CategoricalCrossEntropy(bigdl_type)