#include "caffe/layers/dice_coef_loss_layer.hpp" #include "caffe/util/math_functions.hpp"namespace caffe {template <typename Dtype> void DiceCoefLossLayer<Dtype>::Reshape( const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) { LossLayer<Dtype>::Reshape(bottom,...