def METHOD_NAME(program_config, predictor_config):
    if self.get_nnadapter_device_name() == "kunlunxin_xtcl":
        mode = program_config.ops[0].attrs["mode"]
        if mode != "constant":
            return True