class_docstr: The base class for Keras-style API objectives in Analytics Zoo.
class_docstr_tok: ["The","base","class","for","Keras-style","API","objectives","in","Analytics","Zoo","."]
code: def __init__(self, jvalue, bigdl_type, *args):
      super(Criterion, self).__init__(jvalue, bigdl_type, *args)
  
imports: import sys
  from zoo.pipeline.api.keras.base import ZooKerasCreator
  from bigdl.nn.criterion import Criterion
  from bigdl.util.common import JTensor
label_desc: Use image node_id 1 to create a new LossFunction object from inherited base classes: ZooKerasCreator, Criterion with example: obj = LossFunction(jvalue, bigdl_type)