示例#1
0
文件: svm.py 项目: jlim13/stor893
 def get_losses(self):
     self.F = F.Top1_Hard_SVM(self.labels, self.alpha)
示例#2
0
文件: svm.py 项目: jlim13/stor893
 def get_losses(self):
     self.F_h = F.Top1_Hard_SVM(self.labels, self.alpha)
     self.F_s = F.Top1_Smooth_SVM(self.labels, self.tau, self.alpha)