@staticmethod
def producer_init(device, cfg):
    """ 
        function for producer initialization.
        
        Args:
            device (str): device for the this process.
            cfg (easycore.common.config.CfgNode): config of this process, you can use it to transfer data
                to `producer_work` and `producer_end` function.
        """
    pass
