def init_buffers(self, inputs):
        """
        Initialize buffers for images and ROIs
        """
        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"
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py/RoiPooling.init_buffers/original