top[0]->mutable_cpu_data()[0] = loss; }template <typename Dtype> void DiceCoefLossLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top, const vector<bool>& propagate_down, const vector<Blob<Dtype>*>& bottom) { for (int i = 0; i < 2; ++i) { ...