Python

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

Wrap a python class into a layer.

Examples:

layer {
  type: "Python"
  bottom: "cls_prob"
  bottom: "bbox_pred"
  bottom: "ims_info"
  top: "rois"
  python_param {
    module: 'rpn.proposal_layer'
    layer: 'ProposalLayer'
    param_str: "'feat_stride': 16"
  }
}