def init_buffers(self, inputs):
        assert len(inputs) == 2, "inputs must contain both images and ROIs"
        if self.img is None or self.img is not inputs[0]:
            self.img = inputs[0]
            self.rois = inputs[1]
            assert self.rois.shape[1] == 5, "ROI entry must be 5-value tuple"
Initialize buffers for images and ROIs
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py/RoiPooling.init_buffers