class_docstr: Hinge loss for pairwise ranking problems.
  
  # Arguments:
  margin: Float. Default is 1.0.
  
  >>> loss = RankHinge()
  creating: createZooKerasRankHinge
class_docstr_tok: ["Hinge","loss","for","pairwise","ranking","problems",".","#","Arguments",":","margin",":","Float",".","Default","is","1.0",".",">",">",">","loss","=","RankHinge","(",")","creating",":","createZooKerasRankHinge"]
code: def __init__(self, margin=1.0, bigdl_type="float"):
      super(RankHinge, self).__init__(None, bigdl_type, float(margin))
  
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 RankHinge object from inherited base classes: LossFunction with example: obj = RankHinge(margin, bigdl_type)