Do anyone know how can I do weighted learning(e.g.In 14 sklean.svm.svc ,the parameter ‘class_weight’ allow you to assign different weight to different class ) in CNN with cross entropy loss?Thanks very much!