Scale

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

Compute the affine transformation along the given axes.

Examples:

layer {
  type: "Scale"
  bottom: "conv1/bn"
  top: "conv1/scale"
  scale_param {
    axis: 1
    num_axes: 1
    bias_term: true
    filler: {
      type: "constant"
      value: 1
    }
    bias_filler {
      type: "constant"
      value: 0
    }
  }
}