Power

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

Compute the power of input.

\[y = (scale * x + shift)^{power} \]

Examples:

layer {
  type: "Power"
  bottom: "x"
  top: "y"
  power_param {
    scale: 1.
    shift: 0.
    power: 2.
  }
}