Hi, EMA is an important component for training CM, could you tell me how to realize EMA in your code? Thanks.