def METHOD_NAME(args):
    env_info = get_sys_env()
    info = ['{}: {}'.format(k, v) for k, v in env_info.items()]
    info = '\n'.join(['', format('Environment Information', '-^48s')] + info +
                     ['-' * 48])
    logger.info(info)
    paddle.set_device('cpu')
    cfg = Config(args.config)
    custom_ops = {paddle.nn.SyncBatchNorm: op_flops_funs.count_syncbn}
    inputs = paddle.randn(args.input_shape)
    _dynamic_flops(cfg.model, inputs, custom_ops=custom_ops, print_detail=True)