StopGradient

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

Return the identity of input with truncated gradient-flow.

Examples:

layer {
  type: "StopGradient"
  bottom: "res2c"
  top: "res2c/frozen"
}