class_docstr: This is the inner-product loss used in CFKG for optimization.
class_docstr_tok: ["This","is","the","inner-product","loss","used","in","CFKG","for","optimization","."]
code: def __init__(self):
      super(InnerProductLoss, self).__init__()
  
file_path: RecBole/recbole/model/knowledge_aware_recommender/cfkg.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from recbole.model.abstract_recommender import KnowledgeRecommender
  from recbole.model.init import xavier_normal_initialization
  from recbole.utils import InputType
label_desc: Use image node_id 1 to create a new InnerProductLoss object from inherited base classes: nn with example: obj = InnerProductLoss()