Reduction

class dragon.vm.caffe.layers.Reduction(layer_param)[source]

Compute the reduction value along the given axis.

Examples:

layer {
  type: "Reduction"
  bottom: "entropy"
  top: "loss"
  reduction_param {
    operation: SUM
    axis: 1
  }
}