def METHOD_NAME(args):
    option = fd.RuntimeOption()
    if args.device.lower() == "kunlunxin":
        option.use_kunlunxin()
    if args.device.lower() == "ascend":
        option.use_ascend()
    if args.device.lower() == "gpu":
        option.use_gpu()
    return option