

def __init__(self, layers, bprop_enabled=False, HW=(7, 7), spatial_scale=0.0625, name=None):
    if layers:
        super(RoiPooling, self).__init__(layers, name=name)
    self.HW = HW
    (self.roi_H, self.roi_W) = self.HW
    self.spatial_scale = spatial_scale
    self.owns_output = True
    self.owns_delta = True
    self.img = None
    self.rois = None
    self.rois_per_img = 64
    self.rois_per_batch = (self.be.bsz * 64)
    self.bprop_enabled = bprop_enabled

dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py RoiPooling.__init__/original